diff options
author | Andrew Klossner <andrew@cesa.opbu.xerox.com> | 2008-08-21 14:12:26 (GMT) |
---|---|---|
committer | Andrew Fleming-AFLEMING <afleming@freescale.com> | 2008-09-09 22:02:41 (GMT) |
commit | 5251469943895de4bb9a04d5053352cc22acb7d5 (patch) | |
tree | b91675de870141de079e80668bfbf5765c445537 /common/image.c | |
parent | e0ff3d350d6b7960deb5a881dfc5acf3a63ef676 (diff) | |
download | u-boot-fsl-qoriq-5251469943895de4bb9a04d5053352cc22acb7d5.tar.xz |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/image.c b/common/image.c index f7e8606..d7fcd1d 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; |