summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2009-07-31 21:16:51 +0000
committerBlue Swirl <blauwirbel@gmail.com>2009-07-31 21:16:51 +0000
commit660f11be541813be5f09fbaf44d8e7c6d5a5bbfe (patch)
tree1d133bdfc69d11fe81e769825adf3f680ee2f91e /curses.c
parentPPC: convert Uni-north to qdev: also fixes Mac99 machine crash (diff)
downloadqemu-kvm-660f11be541813be5f09fbaf44d8e7c6d5a5bbfe.tar.gz
qemu-kvm-660f11be541813be5f09fbaf44d8e7c6d5a5bbfe.tar.bz2
qemu-kvm-660f11be541813be5f09fbaf44d8e7c6d5a5bbfe.zip
Fix Sparse warnings: "Using plain integer as NULL pointer"
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'curses.c')
-rw-r--r--curses.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/curses.c b/curses.c
index 8aae818f2..89680e6fb 100644
--- a/curses.c
+++ b/curses.c
@@ -158,7 +158,7 @@ static void curses_cursor_position(DisplayState *ds, int x, int y)
#include "curses_keys.h"
-static kbd_layout_t *kbd_layout = 0;
+static kbd_layout_t *kbd_layout = NULL;
static int keycode2keysym[CURSES_KEYS];
static void curses_refresh(DisplayState *ds)