diff options
author | Ahmad Fatoum <a.fatoum@pengutronix.de> | 2020-07-06 08:28:04 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2020-07-14 20:28:09 +0200 |
commit | 4c0809a21073af2d482683ec5327f59b31c355ff (patch) | |
tree | eb095ccd77faa95c56d8a8e7addec237f79e0e94 /arch/sandbox/os/Makefile | |
parent | df694a4bc4e7c030a976f4d7b704d621a00e4dd8 (diff) | |
download | barebox-4c0809a21073af2d482683ec5327f59b31c355ff.tar.gz barebox-4c0809a21073af2d482683ec5327f59b31c355ff.tar.xz |
sandbox: os: common: fix compiler warning in add_image()
GCC reports:
./arch/sandbox/os/common.c: In function ‘add_image’:
./arch/sandbox/os/common.c:271:6: warning: cast to pointer from integer of
different size [-Wint-to-pointer-cast]
This is because hf->base is an unsigned long long, with the upper 32 bit
all-zeroes on 32-bit systems. The compiler doesn't see that though.
Change the cast, so we no longer warn.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/sandbox/os/Makefile')
0 files changed, 0 insertions, 0 deletions