summaryrefslogtreecommitdiff
path: root/drivers/video/cfb_console.c
diff options
context:
space:
mode:
authorMarek Vasut <marek.vasut@gmail.com>2011-10-21 14:17:04 +0000
committerWolfgang Denk <wd@denx.de>2011-10-27 23:54:04 +0200
commit68da5b1911603957fbd1807eb392a0599a627df3 (patch)
tree96a7a675d95fc82c64a98c445b13e9c535929104 /drivers/video/cfb_console.c
parent35e9d698cd2ca4bb15d9fab6eaeacd67b007971c (diff)
downloadu-boot-imx-68da5b1911603957fbd1807eb392a0599a627df3.zip
u-boot-imx-68da5b1911603957fbd1807eb392a0599a627df3.tar.gz
u-boot-imx-68da5b1911603957fbd1807eb392a0599a627df3.tar.bz2
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 <marek.vasut@gmail.com> Cc: Wolfgang Denk <wd@denx.de> Cc: Simon Glass <sjg@chromium.org> Cc: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'drivers/video/cfb_console.c')
-rw-r--r--drivers/video/cfb_console.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/cfb_console.c b/drivers/video/cfb_console.c
index 4e653b8..1863563 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