Skip to content
Snippets Groups Projects
Commit 81a4f709 authored by Stefan Roese's avatar Stefan Roese
Browse files

cfi_flash: Use uintptr_t for casts from u32 to void *


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: default avatarStefan Roese <sr@denx.de>
Cc: Tom Rini <trini@ti.com>
parent c502321c
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment