splash: Fix build warning on 64 bits CPU
Get below warning on ARM64 platform, because the bmp_load_addr is defined to u32. common/splash.c: In function ‘splash_video_logo_load’: common/splash.c:74:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 74 | memcpy((void *)bmp_load_addr, bmp_logo_bitmap, Signed-off-by: Ye Li <ye.li@nxp.com> Reviewed-by: Jagan Teki <jagan@amarulasolutions.com> Tested-by: Jagan Teki <jagan@amarulasolutions.com> # bpi-m1+, bpi-m64
This commit is contained in:
parent
8cee2006ca
commit
70b06d9542
@ -59,7 +59,7 @@ static struct splash_location default_splash_locations[] = {
|
|||||||
static int splash_video_logo_load(void)
|
static int splash_video_logo_load(void)
|
||||||
{
|
{
|
||||||
char *splashimage;
|
char *splashimage;
|
||||||
u32 bmp_load_addr;
|
ulong bmp_load_addr;
|
||||||
|
|
||||||
splashimage = env_get("splashimage");
|
splashimage = env_get("splashimage");
|
||||||
if (!splashimage)
|
if (!splashimage)
|
||||||
|
Loading…
Reference in New Issue
Block a user