From: Simon Glass Date: Wed, 15 Oct 2014 10:38:36 +0000 (-0600) Subject: x86: Use correct printf() format string for uintptr_t X-Git-Tag: v2015.01-rc1~112 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=6bcb8ade301af7aace7fc8870d8de497b8070798;p=u-boot x86: Use correct printf() format string for uintptr_t Use the inttypes header file to provide this. Signed-off-by: Simon Glass --- diff --git a/arch/x86/lib/relocate.c b/arch/x86/lib/relocate.c index 526daaf93a..faca38fff4 100644 --- a/arch/x86/lib/relocate.c +++ b/arch/x86/lib/relocate.c @@ -16,6 +16,7 @@ */ #include +#include #include #include #include @@ -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);