From: Tom Rini Date: Thu, 27 Sep 2012 09:22:46 -0700 Subject: [U-Boot] [U-Boot, 4/4] common: cmd_elf.c: use uintptr_t for casts from u32 to void* In-Reply-To: <1347814506-22926-5-git-send-email-daniel.schwierzeck@gmail.com> References: <1347814506-22926-5-git-send-email-daniel.schwierzeck@gmail.com> Message-ID: <20120927162246.GI14678@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Sun, Sep 16, 2012 at 06:55:06AM -0000, Daniel Schwierzeck wrote: > From: Daniel Schwierzeck > > 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 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: