aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2008-11-16 13:53:32 +0000
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2008-11-16 13:53:32 +0000
commitcd390083ad1fea1ddb93df9c5560eba0a9f26a0d (patch)
tree8594a86a0760b7e393a75e883d00256c29e9ed00 /cutils.c
parentUse correct trap for syscalls on Sparc32 (diff)
downloadqemu-kvm-cd390083ad1fea1ddb93df9c5560eba0a9f26a0d.tar.gz
qemu-kvm-cd390083ad1fea1ddb93df9c5560eba0a9f26a0d.tar.bz2
qemu-kvm-cd390083ad1fea1ddb93df9c5560eba0a9f26a0d.zip
Attached patch fixes a series of this warning
when compiling on NetBSD: warning: array subscript has type 'char' Signed-off-by: Christoph Egger <Christoph.Egger@amd.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5727 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'cutils.c')
-rw-r--r--cutils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cutils.c b/cutils.c
index 9ef2fa627..142347d6a 100644
--- a/cutils.c
+++ b/cutils.c
@@ -72,7 +72,7 @@ int stristart(const char *str, const char *val, const char **ptr)
p = str;
q = val;
while (*q != '\0') {
- if (toupper(*p) != toupper(*q))
+ if (qemu_toupper(*p) != qemu_toupper(*q))
return 0;
p++;
q++;