summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Vasut <marek.vasut@gmail.com>2011-10-24 23:40:00 (GMT)
committerWolfgang Denk <wd@denx.de>2011-10-27 21:54:07 (GMT)
commitb89c708bb732d615bdeecd4dfce1e2a180f90c4e (patch)
tree8c47fbb86184c1e55724919e12d3512532399023
parent2e8f6419aae66808d8058cd06f89ebedea5f5303 (diff)
downloadu-boot-fsl-qoriq-b89c708bb732d615bdeecd4dfce1e2a180f90c4e.tar.xz
GCC4.6: Squash warnings in lattice.c
lattice.c:319:4: warning: format '%x' expects type 'unsigned int', but argument 3 has type 'const char *' lattice.c:319:4: warning: format '%x' expects type 'unsigned int', but argument 4 has type 'long unsigned int' Signed-off-by: Marek Vasut <marek.vasut@gmail.com> Cc: Wolfgang Denk <wd@denx.de> Cc: Simon Glass <sjg@chromium.org> Cc: Mike Frysinger <vapier@gentoo.org>
-rw-r--r--drivers/fpga/lattice.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/fpga/lattice.c b/drivers/fpga/lattice.c
index 50d9e542..d8b642a 100644
--- a/drivers/fpga/lattice.c
+++ b/drivers/fpga/lattice.c
@@ -317,7 +317,7 @@ int lattice_load(Lattice_desc *desc, const void *buf, size_t bsize)
read_bytes = 0;
bufsize = bsize;
debug("%s: Launching the Lattice ISPVME Loader:"
- " addr 0x%x size 0x%x...\n",
+ " addr %p size 0x%lx...\n",
__func__, fpga_image, bufsize);
ret_val = ispVM();
if (ret_val)