lib: fix shifting 32-bit signed variable 31 times
authorFerruh Yigit <ferruh.yigit@intel.com>
Sun, 28 Oct 2018 01:08:44 +0000 (01:08 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 6 Nov 2018 00:14:05 +0000 (01:14 +0100)
commit9eb06884120091a21fdfc35850167f6245c2109e
treefbcfba8b3570bcbc24493462effd0a81ae151fc4
parent1ccdc31793aff57d5fe34041c7fa0aa9c00c7f5c
lib: fix shifting 32-bit signed variable 31 times

Fix cppcheck warning by marking variable as unsigned.

Fixes: dc276b5780c2 ("acl: new library")
Fixes: 986ff526fb84 ("net: add CRC computation API")
Cc: stable@dpdk.org
Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
lib/librte_acl/acl_gen.c
lib/librte_net/rte_net_crc.c