net/sfc/base: fix warnings from VS2015 C compiler (C4310)
authorAndrew Lee <alee@solarflare.com>
Thu, 16 Nov 2017 08:04:31 +0000 (08:04 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 16 Jan 2018 17:47:49 +0000 (18:47 +0100)
commite6df11c8568005e590e454e2cfbd8ed937930811
tree2a4a07d55462e576af8072659610babdca45b60c
parent5e6602ecdb3f3ee1fd5b9b488761fc11a3b9e8da
net/sfc/base: fix warnings from VS2015 C compiler (C4310)

Fix level 4 warning
"C4310: cast truncates constant value";
no functional changes.

Fixes: 354df7eadf66 ("net/sfc/base: import bootrom configuration")
Cc: stable@dpdk.org
Signed-off-by: Andrew Lee <alee@solarflare.com>
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
drivers/net/sfc/base/efx_bootcfg.c