mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-28 01:51:33 +00:00
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>
This commit is contained in:
parent
2e8f6419aa
commit
b89c708bb7
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Add table
Reference in a new issue