]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_mbuf/rte_mbuf.h
mbuf: fix type of variables in linearize function
[dpdk.git] / lib / librte_mbuf / rte_mbuf.h
index 76e37a2f819dcc94e082188e43ccbf7296c9bf0d..715f90ea033fd3696c79316504a162388729b178 100644 (file)
@@ -2157,7 +2157,7 @@ rte_validate_tx_offload(const struct rte_mbuf *m)
 static inline int
 rte_pktmbuf_linearize(struct rte_mbuf *mbuf)
 {
-       int seg_len, copy_len;
+       size_t seg_len, copy_len;
        struct rte_mbuf *m;
        struct rte_mbuf *m_next;
        char *buffer;