[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [5213] target-mips: fix warning
From: |
Aurelien Jarno |
Subject: |
[Qemu-devel] [5213] target-mips: fix warning |
Date: |
Sun, 14 Sep 2008 16:28:26 +0000 |
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
===================================================================
--- trunk/target-mips/translate_init.c 2008-09-14 16:09:56 UTC (rev 5212)
+++ trunk/target-mips/translate_init.c 2008-09-14 16:28:26 UTC (rev 5213)
@@ -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;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-devel] [5213] target-mips: fix warning,
Aurelien Jarno <=