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 --- target-ppc/translate_init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'target-ppc/translate_init.c') diff --git a/target-ppc/translate_init.c b/target-ppc/translate_init.c index 02590ae..4208f3d 100644 --- a/target-ppc/translate_init.c +++ b/target-ppc/translate_init.c @@ -9458,7 +9458,7 @@ const ppc_def_t *cpu_ppc_find_by_name (const char *name) p = name; check_pvr: for (i = 0; i < 8; i++) { - if (!isxdigit(*p++)) + if (!qemu_isxdigit(*p++)) break; } if (i == 8) -- cgit v1.1