[U-Boot] [U-Boot, 4/4] common: cmd_elf.c: use uintptr_t for casts from u32 to void*

Tom Rini trini at ti.com
Thu Sep 27 18:22:46 CEST 2012


On Sun, Sep 16, 2012 at 06:55:06AM -0000, Daniel Schwierzeck wrote:

> From: Daniel Schwierzeck <daniel.schwierzeck at gmail.com>
> 
> This fixes warnings when compiling with ELDK-5.2.1 for MIPS64:
> 
> cmd_elf.c: In function 'load_elf_image_phdr':
> cmd_elf.c:289:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
> cmd_elf.c: In function 'load_elf_image_shdr':
> cmd_elf.c:343:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
> cmd_elf.c:346:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
> 
> Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck at gmail.com>

Applied to u-boot/next, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20120927/ffccfd0f/attachment.pgp>


More information about the U-Boot mailing list