qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] Fix warning
@ 2008-09-06 13:00 Hervé Poussineau
  2008-09-14 16:19 ` Aurelien Jarno
  0 siblings, 1 reply; 2+ messages in thread
From: Hervé Poussineau @ 2008-09-06 13:00 UTC (permalink / raw)
  To: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 152 bytes --]

Hi,

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é

[-- Attachment #2: fix signed warning.diff --]
[-- Type: text/plain, Size: 400 bytes --]

Index: target-mips/translate_init.c
===================================================================
--- target-mips/translate_init.c	(revision 5171)
+++ target-mips/translate_init.c	(working copy)
@@ -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] 2+ messages in thread

end of thread, other threads:[~2008-09-14 16:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-06 13:00 [Qemu-devel] [PATCH] Fix warning Hervé Poussineau
2008-09-14 16:19 ` 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).