qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [5213] target-mips: fix warning
@ 2008-09-14 16:28 Aurelien Jarno
  0 siblings, 0 replies; only message in thread
From: Aurelien Jarno @ 2008-09-14 16:28 UTC (permalink / raw)
  To: qemu-devel

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;
 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-09-14 16:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-14 16:28 [Qemu-devel] [5213] target-mips: fix warning Aurelien Jarno

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).