diff --git a/subsys/net/ip/net_pkt.c b/subsys/net/ip/net_pkt.c index dfd2596c8d9ebb..8ceb13ffea62ad 100644 --- a/subsys/net/ip/net_pkt.c +++ b/subsys/net/ip/net_pkt.c @@ -1848,7 +1848,7 @@ int net_pkt_pull(struct net_pkt *pkt, size_t length) net_pkt_cursor_backup(pkt, &backup); while (length) { - u8_t left, rem; + size_t left, rem; pkt_cursor_advance(pkt, false);