summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Vasut <marek.vasut@gmail.com>2011-10-24 23:40:02 +0000
committerWolfgang Denk <wd@denx.de>2011-10-27 23:54:07 +0200
commit458f4381691a083e8a4004d1fe444a1951d75354 (patch)
tree0ab84210cb9661232bc460e397856b288c79d2ee
parent99724a2d91ca531ff7ade7728bfcad462ae0fe2f (diff)
downloadu-boot-imx-458f4381691a083e8a4004d1fe444a1951d75354.zip
u-boot-imx-458f4381691a083e8a4004d1fe444a1951d75354.tar.gz
u-boot-imx-458f4381691a083e8a4004d1fe444a1951d75354.tar.bz2
GCC4.6: Squash warning in bus_vcxk.c
bus_vcxk.c:167:2: warning: format '%d' expects type 'int', but argument 2 has type 'u_long' bus_vcxk.c:167:2: warning: format '%d' expects type 'int', but argument 3 has type 'u_long' 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>
-rw-r--r--drivers/video/bus_vcxk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/bus_vcxk.c b/drivers/video/bus_vcxk.c
index 67a59a7..7aecb92 100644
--- a/drivers/video/bus_vcxk.c
+++ b/drivers/video/bus_vcxk.c
@@ -164,7 +164,7 @@ int vcxk_init(unsigned long width, unsigned long height)
#else
#error CONFIG_SYS_VCXK_DEFAULT_LINEALIGN is invalid
#endif
- debug("linesize ((%d + 15) / 8 & ~0x1) = %d\n",
+ debug("linesize ((%ld + 15) / 8 & ~0x1) = %ld\n",
display_width, display_bwidth);
#ifdef CONFIG_SYS_VCXK_AUTODETECT