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
signature.asc
Description: Digital signature
_______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot