From: Marek Vasut Date: Mon, 24 Oct 2011 23:40:00 +0000 (+0000) Subject: GCC4.6: Squash warnings in lattice.c X-Git-Tag: v2011.12-rc1~359 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b89c708bb732d615bdeecd4dfce1e2a180f90c4e;p=u-boot 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 Cc: Wolfgang Denk Cc: Simon Glass Cc: Mike Frysinger --- diff --git a/drivers/fpga/lattice.c b/drivers/fpga/lattice.c index 50d9e542d7..d8b642a6bc 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)