summaryrefslogtreecommitdiff
path: root/common
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 /common
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 'common')
-rw-r--r--common/lcd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/lcd.c b/common/lcd.c
index ebf377a..04ef4e3 100644
--- a/common/lcd.c
+++ b/common/lcd.c
@@ -539,7 +539,7 @@ void bitmap_plot (int x, int y)
debug ("Logo: width %d height %d colors %d cmap %d\n",
BMP_LOGO_WIDTH, BMP_LOGO_HEIGHT, BMP_LOGO_COLORS,
- sizeof(bmp_logo_palette)/(sizeof(ushort)));
+ (int)(sizeof(bmp_logo_palette)/(sizeof(ushort))));
bmap = &bmp_logo_bitmap[0];
fb = (uchar *)(lcd_base + y * lcd_line_length + x);