mbuf: explicit casts of reference counter
authorAndy Green <andy@warmcat.com>
Thu, 17 May 2018 13:49:32 +0000 (21:49 +0800)
committerThomas Monjalon <thomas@monjalon.net>
Sun, 20 May 2018 22:20:48 +0000 (00:20 +0200)
commitf6ffdf1c2c1cfbb2a3cbce246b545560609abeb5
treefa6ef56feee5c73c2c5a0c0a1990de67e90ab830
parentee07d519ceb05e59dd970c48a42cf2f09b3ac4dc
mbuf: explicit casts of reference counter

differences to the atomic16 are signed, but the
atomic16 itself is unsigned.  It needs to be
made explicit with casts.

Fixes: af75078fece3 ("first public release")
Fixes: a53aa2b9f3be ("mbuf: support attaching external buffer")
Cc: stable@dpdk.org
Signed-off-by: Andy Green <andy@warmcat.com>
Acked-by: Olivier Matz <olivier.matz@6wind.com>
lib/librte_mbuf/rte_mbuf.h