[PATCH] splash: Fix build warning on 64 bits CPU

Jagan Teki jagan at amarulasolutions.com
Wed Jun 17 09:09:36 CEST 2020


On Wed, Jun 10, 2020 at 3:23 PM Ye Li <ye.li at nxp.com> wrote:
>
> 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 at nxp.com>
> ---

Reviewed-by: Jagan Teki <jagan at amarulasolutions.com>
Tested-by: Jagan Teki <jagan at amarulasolutions.com> # bpi-m1+, bpi-m64


More information about the U-Boot mailing list