From 660f11be541813be5f09fbaf44d8e7c6d5a5bbfe Mon Sep 17 00:00:00 2001 From: Blue Swirl Date: Fri, 31 Jul 2009 21:16:51 +0000 Subject: Fix Sparse warnings: "Using plain integer as NULL pointer" Signed-off-by: Blue Swirl --- monitor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'monitor.c') diff --git a/monitor.c b/monitor.c index 909325423a..aac88781cc 100644 --- a/monitor.c +++ b/monitor.c @@ -2272,7 +2272,7 @@ static int get_monitor_def(target_long *pval, const char *name) static void next(void) { - if (pch != '\0') { + if (*pch != '\0') { pch++; while (qemu_isspace(*pch)) pch++; -- cgit 1.4.1