diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2009-09-21 18:11:34 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2009-09-21 18:11:34 +0000 |
commit | e04e5e6cf7efbd7ca60c1cee706df0a5ab78e4de (patch) | |
tree | c267953d3408328a7d262b95a9fb95641e285525 /hw/omap_lcdc.c | |
parent | d00c04e6ff8a7998e4a1afa0e4b56696451ab819 (diff) | |
download | qemu-e04e5e6cf7efbd7ca60c1cee706df0a5ab78e4de.tar.gz qemu-e04e5e6cf7efbd7ca60c1cee706df0a5ab78e4de.tar.bz2 qemu-e04e5e6cf7efbd7ca60c1cee706df0a5ab78e4de.zip |
Fix Sparse warnings about using plain integer as NULL pointer
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'hw/omap_lcdc.c')
-rw-r--r-- | hw/omap_lcdc.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/hw/omap_lcdc.c b/hw/omap_lcdc.c index c0651938c5..6affef67b9 100644 --- a/hw/omap_lcdc.c +++ b/hw/omap_lcdc.c @@ -80,31 +80,31 @@ static void omap_lcd_interrupts(struct omap_lcd_panel_s *s) #include "omap_lcd_template.h" static draw_line_func draw_line_table2[33] = { - [0 ... 32] = 0, + [0 ... 32] = NULL, [8] = draw_line2_8, [15] = draw_line2_15, [16] = draw_line2_16, [32] = draw_line2_32, }, draw_line_table4[33] = { - [0 ... 32] = 0, + [0 ... 32] = NULL, [8] = draw_line4_8, [15] = draw_line4_15, [16] = draw_line4_16, [32] = draw_line4_32, }, draw_line_table8[33] = { - [0 ... 32] = 0, + [0 ... 32] = NULL, [8] = draw_line8_8, [15] = draw_line8_15, [16] = draw_line8_16, [32] = draw_line8_32, }, draw_line_table12[33] = { - [0 ... 32] = 0, + [0 ... 32] = NULL, [8] = draw_line12_8, [15] = draw_line12_15, [16] = draw_line12_16, [32] = draw_line12_32, }, draw_line_table16[33] = { - [0 ... 32] = 0, + [0 ... 32] = NULL, [8] = draw_line16_8, [15] = draw_line16_15, [16] = draw_line16_16, |