Skip to content
Snippets Groups Projects
Commit b89c708b authored by Marek Vasut's avatar Marek Vasut Committed by Wolfgang Denk
Browse files

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: default avatarMarek Vasut <marek.vasut@gmail.com>
Cc: Wolfgang Denk <wd@denx.de>
Cc: Simon Glass <sjg@chromium.org>
Cc: Mike Frysinger <vapier@gentoo.org>
parent 2e8f6419
No related branches found
No related tags found
No related merge requests found
...@@ -317,7 +317,7 @@ int lattice_load(Lattice_desc *desc, const void *buf, size_t bsize) ...@@ -317,7 +317,7 @@ int lattice_load(Lattice_desc *desc, const void *buf, size_t bsize)
read_bytes = 0; read_bytes = 0;
bufsize = bsize; bufsize = bsize;
debug("%s: Launching the Lattice ISPVME Loader:" debug("%s: Launching the Lattice ISPVME Loader:"
" addr 0x%x size 0x%x...\n", " addr %p size 0x%lx...\n",
__func__, fpga_image, bufsize); __func__, fpga_image, bufsize);
ret_val = ispVM(); ret_val = ispVM();
if (ret_val) if (ret_val)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment