mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-04-01 03:51:31 +00:00
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) <esw@bus-elektronik.de>
This commit is contained in:
parent
cfcd1c03e4
commit
4a1921eb04
1 changed files with 1 additions and 1 deletions
|
@ -153,7 +153,7 @@ int vcxk_init(unsigned long width, unsigned long height)
|
||||||
#ifdef CONFIG_SYS_VCXK_DOUBLEBUFFERED
|
#ifdef CONFIG_SYS_VCXK_DOUBLEBUFFERED
|
||||||
double_bws_word = (u_short *)double_bws;
|
double_bws_word = (u_short *)double_bws;
|
||||||
double_bws_long = (u_long *)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
|
#endif
|
||||||
display_width = width;
|
display_width = width;
|
||||||
display_height = height;
|
display_height = height;
|
||||||
|
|
Loading…
Add table
Reference in a new issue