mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-18 13:11:31 +00:00
x86: Use correct printf() format string for uintptr_t
Use the inttypes header file to provide this. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
c6da9ae8a4
commit
6bcb8ade30
1 changed files with 2 additions and 1 deletions
|
@ -16,6 +16,7 @@
|
|||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <inttypes.h>
|
||||
#include <libfdt.h>
|
||||
#include <malloc.h>
|
||||
#include <asm/u-boot-x86.h>
|
||||
|
@ -94,7 +95,7 @@ int do_elf_reloc_fixups(void)
|
|||
*offset_ptr_ram += gd->reloc_off;
|
||||
} else {
|
||||
debug(" %p: rom reloc %x, ram %p, value %x,"
|
||||
" limit %lx\n", re_src,
|
||||
" limit %" PRIXPTR "\n", re_src,
|
||||
re_src->r_offset, offset_ptr_ram,
|
||||
*offset_ptr_ram,
|
||||
CONFIG_SYS_TEXT_BASE + size);
|
||||
|
|
Loading…
Add table
Reference in a new issue