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

Anatolij Gustschin agust at denx.de
Mon Jun 29 09:05:27 CEST 2020


On Wed, 10 Jun 2020 02:52:22 -0700
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>
> ---
>  common/splash.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied to u-boot-video/master, thanks!

--
Anatolij


More information about the U-Boot mailing list