]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
Video: fix compiler warnings in bus_vcxk
authorJens Scharsig (BuS Elektronik) <esw@bus-elektronik.de>
Wed, 14 Nov 2012 00:10:20 +0000 (00:10 +0000)
committerAnatolij Gustschin <agust@denx.de>
Wed, 14 Nov 2012 11:27:49 +0000 (12:27 +0100)
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) <esw@bus-elektronik.de>
drivers/video/bus_vcxk.c

index 9c4714d50a5a444aa7128f08805163f385994270..a0607cf433660d143acebe51846d48601d8bca8b 100644 (file)
@@ -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;