From cd390083ad1fea1ddb93df9c5560eba0a9f26a0d Mon Sep 17 00:00:00 2001 From: blueswir1 Date: Sun, 16 Nov 2008 13:53:32 +0000 Subject: Attached patch fixes a series of this warning when compiling on NetBSD: warning: array subscript has type 'char' Signed-off-by: Christoph Egger git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5727 c046a42c-6fe2-441c-8c8c-71466251a162 --- cutils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cutils.c') diff --git a/cutils.c b/cutils.c index 9ef2fa6..142347d 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++; -- cgit v1.1