On Mon, May 14, 2018 at 01:10:02PM +0800, Andy Green wrote:
> /projects/lagopus/src/dpdk/build/include/rte_ring.h:350:46:
> warning: conversion to 'uint32_t' {aka 'unsigned int'}
> from 'int' may change the sign of the result
> [-Wsign-conversion]
>   update_tail(&r->prod, prod_head, prod_next, is_sp, 1);
> 
> The visible apis take unsigned int, then call a private
> api taking an int, which finally calls an api taking an
> unsigned int.
> 
> Convert the private api to take unsigned int removing
> 5 x warning similar to that shown above.
> 
> Signed-off-by: Andy Green <a...@warmcat.com>

Acked-by: Olivier Matz <olivier.m...@6wind.com>

Reply via email to