From: Jens Scharsig (BuS Elektronik) Date: Wed, 14 Nov 2012 00:10:20 +0000 (+0000) Subject: Video: fix compiler warnings in bus_vcxk X-Git-Tag: v2013.01-rc2~139^2~2 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=4a1921eb04fa83acbab60fc0219e48e85dbc2f74;p=oweals%2Fu-boot.git Video: fix compiler warnings in bus_vcxk if a board uses the vcxk driver option CONFIG_SYS_VCXK_DOUBLEBUFFERD, compilier shows warnings. This patch will fix it. Signed-off-by: Jens Scharsig (BuS Elektronik) --- diff --git a/drivers/video/bus_vcxk.c b/drivers/video/bus_vcxk.c index 9c4714d50a..a0607cf433 100644 --- a/drivers/video/bus_vcxk.c +++ b/drivers/video/bus_vcxk.c @@ -153,7 +153,7 @@ int vcxk_init(unsigned long width, unsigned long height) #ifdef CONFIG_SYS_VCXK_DOUBLEBUFFERED double_bws_word = (u_short *)double_bws; double_bws_long = (u_long *)double_bws; - debug("%lx %lx %lx \n", double_bws, double_bws_word, double_bws_long); + debug("%px %px %px\n", double_bws, double_bws_word, double_bws_long); #endif display_width = width; display_height = height;