use qemu_* ctype functions

Fix "warning: array subscript has type 'char'" on NetBSD.

Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
This commit is contained in:
Christoph Egger 2011-09-21 11:10:52 +01:00 committed by Stefan Hajnoczi
parent 8b3692d136
commit 7b0a03a1ea
2 changed files with 2 additions and 2 deletions

2
cmd.c
View file

@ -389,7 +389,7 @@ cvtnum(
if (sp[1] != '\0')
return -1LL;
c = tolower(*sp);
c = qemu_tolower(*sp);
switch (c) {
default:
return i;