From 7b0a03a1eab52ed2f59c8e4cb2210ee74433a820 Mon Sep 17 00:00:00 2001 From: Christoph Egger Date: Wed, 21 Sep 2011 11:10:52 +0100 Subject: use qemu_* ctype functions Fix "warning: array subscript has type 'char'" on NetBSD. Signed-off-by: Christoph Egger Signed-off-by: Stefan Hajnoczi --- cmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmd.c') diff --git a/cmd.c b/cmd.c index ecca167..f77897e 100644 --- a/cmd.c +++ b/cmd.c @@ -389,7 +389,7 @@ cvtnum( if (sp[1] != '\0') return -1LL; - c = tolower(*sp); + c = qemu_tolower(*sp); switch (c) { default: return i; -- cgit v1.1