From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Sat, 16 Jul 2016 17:48:59 -0400 Subject: [U-Boot] Please pull u-boot-sunxi master In-Reply-To: References: <20160716135204.GG7260@bill-the-cat> Message-ID: <20160716214859.GK7260@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 Sat, Jul 16, 2016 at 07:54:35PM +0200, Andreas F?rber wrote: > Am 16.07.2016 um 15:52 schrieb Tom Rini: > > +(pine64_plus) himport_r(&env_htab, (char *)spl->fel_script_address, > > +(pine64_plus) ^ > > w+(pine64_plus) ../board/sunxi/board.c: In function ?parse_spl_header?: > > w+(pine64_plus) ../board/sunxi/board.c:601:24: warning: cast to pointer from integer of > > different size [-Wint-to-pointer-cast] > > > > It's not obvious to me what's going on in what's passed over to us in > > this case when it is a 64bit target, so I'm just going to allow the > > warning for now. > > Sounds like trying to cast int to char*, which requires inserting a > uintptr_t cast first. Yes, but the question I had is, can we really say that fel_script_address is a uint32_t on 64bit platforms? -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: