* [Qemu-devel] [PATCH] Fix compiler warning
@ 2008-07-20 15:17 Stefan Weil
0 siblings, 0 replies; only message in thread
From: Stefan Weil @ 2008-07-20 15:17 UTC (permalink / raw)
To: QEMU Developers
[-- Attachment #1: Type: text/plain, Size: 191 bytes --]
Hello,
this patch fixes a compiler warning (signed/unsigned char mismatch).
There is no reason to use unsigned char * instead of char *.
Please apply it to Qemu SVN trunk.
Regards
Stefan
[-- Attachment #2: mips_translate_init.patch --]
[-- Type: text/x-diff, Size: 570 bytes --]
Index: target-mips/translate_init.c
===================================================================
--- target-mips/translate_init.c (Revision 4908)
+++ target-mips/translate_init.c (Arbeitskopie)
@@ -63,7 +63,7 @@
};
struct mips_def_t {
- const unsigned char *name;
+ const char *name;
int32_t CP0_PRid;
int32_t CP0_Config0;
int32_t CP0_Config1;
@@ -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-07-20 15:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-20 15:17 [Qemu-devel] [PATCH] Fix compiler warning Stefan Weil
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.