[U-Boot] [PATCH] zynq: fb_mmc: Correct cast of address to u32
Simon Glass
sjg at chromium.org
Mon Jul 24 16:43:34 UTC 2017
On 23 July 2017 at 09:47, Tom Rini <trini at konsulko.com> wrote:
> On Sun, Jul 23, 2017 at 09:05:31AM -0600, Simon Glass wrote:
>
>> This does not work on 64-bit machines. Update it to use ulong.
>>
>> This fixes the following warnings in some zynq boards;
>>
>> common/fb_mmc.c: In function 'fb_mmc_update_zimage':
>> common/fb_mmc.c:188:13: warning: cast from pointer to integer of different
>> size [-Wpointer-to-int-cast]
>> common/fb_mmc.c:189:8: warning: cast to pointer from integer of different
>> size [-Wint-to-pointer-cast]
>>
>> Signed-off-by: Simon Glass <sjg at chromium.org>
>
> I fixed this in a slightly different way a while ago and am waiting for
> it to come in via the USB tree currently.
OK thanks.
- Simon
More information about the U-Boot
mailing list