Skip to content
Snippets Groups Projects
Commit 78459123 authored by Marek Vasut's avatar Marek Vasut Committed by Wolfgang Denk
Browse files

GCC4.6: Squash warning in lcd.c


lcd.c: In function 'lcd_setmem':
lcd.c:446:2: warning: format '%d' expects type 'int', but argument 2 has type
'u_long'
lcd.c:446:2: warning: format '%d' expects type 'int', but argument 3 has type
'u_long'

Signed-off-by: default avatarMarek Vasut <marek.vasut@gmail.com>
Cc: Wolfgang Denk <wd@denx.de>
Cc: Simon Glass <sjg@chromium.org>
Cc: Mike Frysinger <vapier@gentoo.org>
parent 0aa27657
No related branches found
No related tags found
No related merge requests found
...@@ -159,8 +159,8 @@ typedef struct vidinfo { ...@@ -159,8 +159,8 @@ typedef struct vidinfo {
#elif defined(CONFIG_ATMEL_LCD) #elif defined(CONFIG_ATMEL_LCD)
typedef struct vidinfo { typedef struct vidinfo {
u_long vl_col; /* Number of columns (i.e. 640) */ ushort vl_col; /* Number of columns (i.e. 640) */
u_long vl_row; /* Number of rows (i.e. 480) */ ushort vl_row; /* Number of rows (i.e. 480) */
u_long vl_clk; /* pixel clock in ps */ u_long vl_clk; /* pixel clock in ps */
/* LCD configuration register */ /* LCD configuration register */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment