i40e/base: force a shifted bit to be unsigned
authorHelin Zhang <helin.zhang@intel.com>
Tue, 9 Sep 2014 07:21:29 +0000 (15:21 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 7 Oct 2014 16:02:11 +0000 (18:02 +0200)
commit2408e5b4062412e16435d823248282c7dd906d4e
tree52f1bcd6e67b4ace31709eb85849cb23d35754eb
parentf5fb399ac54a7a7e3f9f36bbbf4dd87281610240
i40e/base: force a shifted bit to be unsigned

Force a shifted '1' to be 'unsigned' to avoid shifting a signed int.

Signed-off-by: Helin Zhang <helin.zhang@intel.com>
Reviewed-by: Chen Jing <jing.d.chen@intel.com>
Tested-by: HuilongX Xu <huilongx.xu@intel.com>
lib/librte_pmd_i40e/i40e/i40e_hmc.h