diff options
author | aurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-09-14 16:28:26 +0000 |
---|---|---|
committer | aurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-09-14 16:28:26 +0000 |
commit | 929a62a0d72571d977757832daf07fe7ad1aa425 (patch) | |
tree | 6045c94ef4462e712d762948f4d3793728618da3 /target-mips/translate_init.c | |
parent | fdbbb5d9f256c983b195e4e75c514f47feae00b0 (diff) |
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é Poussineau)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5213 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-mips/translate_init.c')
-rw-r--r-- | target-mips/translate_init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target-mips/translate_init.c b/target-mips/translate_init.c index 93931ae020..8270c59901 100644 --- a/target-mips/translate_init.c +++ b/target-mips/translate_init.c @@ -417,7 +417,7 @@ static const mips_def_t mips_defs[] = #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; |