From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Roese Date: Thu, 04 Apr 2013 07:07:06 +0200 Subject: [U-Boot] [PATCH] cfi_flash: Use uintptr_t for casts from u32 to void * In-Reply-To: <1364950066-29308-1-git-send-email-sr@denx.de> References: <1364950066-29308-1-git-send-email-sr@denx.de> Message-ID: <515D0A7A.3070105@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 03.04.2013 02:47, Stefan Roese wrote: > This fixes this build warning: > > Configuring for qemu_mips64 - Board: qemu-mips64, Options: SYS_BIG_ENDIAN > text data bss dec hex filename > 215344 13082 218720 447146 6d2aa qemu_mips64/u-boot > cfi_flash.c: In function 'flash_map': > cfi_flash.c:217:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > > Signed-off-by: Stefan Roese > Cc: Tom Rini Applied to u-boot-cfi-flash/master. Thanks, Stefan