[PATCH] common: splash_source: fix -Wint-to-pointer-cast warning
Jaehoon Chung
jh80.chung at samsung.com
Thu Feb 18 01:18:12 CET 2021
On 12/13/20 12:39 AM, Simon Glass wrote:
> On Mon, 7 Dec 2020 at 01:18, Jaehoon Chung <jh80.chung at samsung.com> wrote:
>>
>> Fix -Wint-to-pointer-cast warning
>>
>> common/splash_source.c: In function 'splash_load_raw':
>> common/splash_source.c:100:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
>> 100 | bmp_hdr = (struct bmp_header *)bmp_load_addr;
>> | ^
>> common/splash_source.c: In function 'splash_sf_read_raw':
>> common/splash_source.c:39:47: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
>> 39 | return spi_flash_read(sf, offset, read_size, (void *)bmp_load_addr);
>> | ^
>>
>> Signed-off-by: Jaehoon Chung <jh80.chung at samsung.com>
>> ---
>> common/splash_source.c | 4 ++--
>> 1 file changed, 2 insertions(+), 2 deletions(-)
>>
>
> Reviewed-by: Simon Glass <sjg at chromium.org>
Ping. Is there any progress about this patch?
Best Regards,
Jaehoon Chung
>
More information about the U-Boot
mailing list