From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Sun, 23 Jul 2017 11:47:40 -0400 Subject: [U-Boot] [PATCH] zynq: fb_mmc: Correct cast of address to u32 In-Reply-To: <20170723150531.193705-1-sjg@chromium.org> References: <20170723150531.193705-1-sjg@chromium.org> Message-ID: <20170723154740.GD26163@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 I fixed this in a slightly different way a while ago and am waiting for it to come in via the USB tree currently. -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: