Skip to contentSkip to conversation

[5213] target-mips: fix warning

Qemu-devel Aurelien Jarno 1 participant 1 message Sep 14, 2008

lore
Share & tools
lore
#0 lore raw

Revision: 5213

          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5213
Author:   aurel32
Date:     2008-09-14 16:28:26 +0000 (Sun, 14 Sep 2008)

Log Message:
-----------
target-mips: fix warning

Attached patch fixes a warning in cpu_mips_find_by_name(). 'name' is a string, so it should be declared as char*, not unsigned char*.

(Herv?\195?\169 Poussineau)

Modified Paths:
--------------
trunk/target-mips/translate_init.c

Modified: trunk/target-mips/translate_init.c
===================================================================

target-mips/translate_init.c +1 -1
@@ -417,7 +417,7 @@
 #endif
 };
 
-static const mips_def_t *cpu_mips_find_by_name (const unsigned char *name)
+static const mips_def_t *cpu_mips_find_by_name (const char *name)
 {
     int i;