aboutsummaryrefslogtreecommitdiff
path: root/common/image.c
diff options
context:
space:
mode:
authorAndrew Klossner <andrew@cesa.opbu.xerox.com>2008-08-21 07:12:26 -0700
committerAndrew Fleming-AFLEMING <afleming@freescale.com>2008-09-09 17:02:41 -0500
commit5251469943895de4bb9a04d5053352cc22acb7d5 (patch)
treeb91675de870141de079e80668bfbf5765c445537 /common/image.c
parente0ff3d350d6b7960deb5a881dfc5acf3a63ef676 (diff)
downloadu-boot-linaro-natty-5251469943895de4bb9a04d5053352cc22acb7d5.tar.gz
Fix printf errors under -DDEBUG
Fix printf format-string/arg mismatches under -DDEBUG. These warnings occur with DEBUG defined for a platform using cpu/mpc85xx. Users of other architectures can unearth similar problems by adding the line "CFLAGS += -DDEBUG=1" in config.mk right after "CFLAGS += $(call cc-option,-fno-stack-protector)". Signed-off-by: Andrew Klossner <andrew@cesa.opbu.xerox.com> Signed-off-by: Andy Fleming <afleming@freescale.com>
Diffstat (limited to 'common/image.c')
-rw-r--r--common/image.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/image.c b/common/image.c
index f7e8606cc..d7fcd1db2 100644
--- a/common/image.c
+++ b/common/image.c
@@ -1563,7 +1563,7 @@ int boot_get_fdt (int flag, int argc, char *argv[], bootm_headers_t *images,
*of_flat_tree = fdt_blob;
*of_size = be32_to_cpu (fdt_totalsize (fdt_blob));
debug (" of_flat_tree at 0x%08lx size 0x%08lx\n",
- *of_flat_tree, *of_size);
+ (ulong)*of_flat_tree, *of_size);
return 0;