summaryrefslogtreecommitdiff
path: root/lib_ppc
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2008-07-14 15:06:35 +0200
committerWolfgang Denk <wd@denx.de>2008-07-14 15:06:35 +0200
commitb64f190b7a34224df09b559ca111eb1b733f00ad (patch)
tree1b3461f4d02a4872bd3c8bd186d5d58f2288e173 /lib_ppc
parentf354b73e16a86f9e9085471a830605f74f84ea5d (diff)
downloadu-boot-imx-b64f190b7a34224df09b559ca111eb1b733f00ad.zip
u-boot-imx-b64f190b7a34224df09b559ca111eb1b733f00ad.tar.gz
u-boot-imx-b64f190b7a34224df09b559ca111eb1b733f00ad.tar.bz2
Fix printf() format issues with sizeof_t types by using %zu
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'lib_ppc')
-rw-r--r--lib_ppc/board.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib_ppc/board.c b/lib_ppc/board.c
index 1bc2f46..71a70db 100644
--- a/lib_ppc/board.c
+++ b/lib_ppc/board.c
@@ -524,11 +524,11 @@ void board_init_f (ulong bootflag)
addr_sp -= sizeof (bd_t);
bd = (bd_t *) addr_sp;
gd->bd = bd;
- debug ("Reserving %d Bytes for Board Info at: %08lx\n",
+ debug ("Reserving %zu Bytes for Board Info at: %08lx\n",
sizeof (bd_t), addr_sp);
addr_sp -= sizeof (gd_t);
id = (gd_t *) addr_sp;
- debug ("Reserving %d Bytes for Global Data at: %08lx\n",
+ debug ("Reserving %zu Bytes for Global Data at: %08lx\n",
sizeof (gd_t), addr_sp);
/*