]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
common: cmd_elf.c: use uintptr_t for casts from u32 to void*
authorDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Sun, 16 Sep 2012 06:55:06 +0000 (06:55 +0000)
committerTom Rini <trini@ti.com>
Mon, 15 Oct 2012 18:53:46 +0000 (11:53 -0700)
commitb0d60a981230a1ebfc10387702894a8d85a0e686
treecadef64bafa9231cfde473f90aa18266864180a3
parent62e03d33c91ab2f8b4bc8a75e3f4796e65fd07a2
common: cmd_elf.c: use uintptr_t for casts from u32 to void*

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@gmail.com>
common/cmd_elf.c