From: Marek Vasut Date: Fri, 21 Oct 2011 14:17:22 +0000 (+0000) Subject: GCC4.6: Squash warnings in pmc405de.c X-Git-Tag: v2011.12-rc1~382 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=9cf5dee75acc763b785cce8824b5a1c8128c7a93;p=u-boot GCC4.6: Squash warnings in pmc405de.c pmc405de.c: In function 'do_painit': pmc405de.c:444: warning: format '%08x' expects type 'unsigned int', but argument 2 has type 'phys_size_t' Signed-off-by: Marek Vasut Cc: Wolfgang Denk Cc: Simon Glass Cc: Mike Frysinger --- diff --git a/board/esd/pmc405de/pmc405de.c b/board/esd/pmc405de/pmc405de.c index c266ebe84f..a60809a1dd 100644 --- a/board/esd/pmc405de/pmc405de.c +++ b/board/esd/pmc405de/pmc405de.c @@ -441,7 +441,7 @@ int do_painit(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) */ param = base - (pram << 10); printf("PARAM: @%08x\n", param); - debug("memsize=0x%08x, base=0x%08x\n", gd->bd->bi_memsize, base); + debug("memsize=0x%08x, base=0x%08x\n", (u32)gd->bd->bi_memsize, base); /* clear entire PA ram */ memset((void*)param, 0, (pram << 10));