From: Marek Vasut Date: Fri, 21 Oct 2011 14:17:04 +0000 (+0000) Subject: GCC4.6: Squash warning in cfb_console.c X-Git-Tag: v2011.12-rc1~372 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=68da5b1911603957fbd1807eb392a0599a627df3;p=u-boot GCC4.6: Squash warning in cfb_console.c cfb_console.c: In function 'video_display_bitmap': cfb_console.c:1148: warning: format '%d' expects type 'int', but argument 2 has type 'long unsigned int' cfb_console.c:1148: warning: format '%d' expects type 'int', but argument 3 has type 'long unsigned int' Signed-off-by: Marek Vasut Cc: Wolfgang Denk Cc: Simon Glass Cc: Mike Frysinger --- diff --git a/drivers/video/cfb_console.c b/drivers/video/cfb_console.c index 4e653b8279..1863563ce4 100644 --- a/drivers/video/cfb_console.c +++ b/drivers/video/cfb_console.c @@ -1152,7 +1152,7 @@ int video_display_bitmap(ulong bmp_image, int x, int y) colors = le32_to_cpu(bmp->header.colors_used); compression = le32_to_cpu(bmp->header.compression); - debug("Display-bmp: %d x %d with %d colors\n", + debug("Display-bmp: %ld x %ld with %d colors\n", width, height, colors); if (compression != BMP_BI_RGB