[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH] Fix compiler warning
From: |
Stefan Weil |
Subject: |
[Qemu-devel] [PATCH] Fix compiler warning |
Date: |
Sun, 20 Jul 2008 17:17:51 +0200 |
User-agent: |
Mozilla-Thunderbird 2.0.0.14 (X11/20080509) |
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
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;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-devel] [PATCH] Fix compiler warning,
Stefan Weil <=