
16 Jul
2016
16 Jul
'16
7:54 p.m.
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.
Regards, Andreas
--
SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Felix Imendörffer, Jane Smithard, Graham Norton
HRB 21284 (AG Nürnberg)