Re: [dpdk-dev] [PATCH v4 09/23] rte_mbuf.h: explicit casts for int16 to uint16

2018-05-17 Thread Olivier Matz
On Mon, May 14, 2018 at 01:10:12PM +0800, Andy Green wrote: > differences to the atomic16 are signed, but the > atomic16 itself is unsigned. It needs to be > made explicit with casts. > > Signed-off-by: Andy Green > --- > lib/librte_mbuf/rte_mbuf.h | 12 ++-- > 1 file changed, 6 inser

[dpdk-dev] [PATCH v4 09/23] rte_mbuf.h: explicit casts for int16 to uint16

2018-05-13 Thread Andy Green
differences to the atomic16 are signed, but the atomic16 itself is unsigned. It needs to be made explicit with casts. Signed-off-by: Andy Green --- lib/librte_mbuf/rte_mbuf.h | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/librte_mbuf/rte_mbuf.h b/lib/libr