[U-Boot] Please pull u-boot-sunxi master

Tom Rini trini at konsulko.com
Sat Jul 16 23:48:59 CEST 2016


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: <http://lists.denx.de/pipermail/u-boot/attachments/20160716/29b6d737/attachment.sig>


More information about the U-Boot mailing list