[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH] Fix warning
From: |
Hervé Poussineau |
Subject: |
[Qemu-devel] [PATCH] Fix warning |
Date: |
Sat, 06 Sep 2008 15:00:02 +0200 |
User-agent: |
Thunderbird 2.0.0.16 (Windows/20080708) |
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é
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;
- [Qemu-devel] [PATCH] Fix warning,
Hervé Poussineau <=