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
master
aurel32 2008-09-14 16:28:26 +00:00
parent fdbbb5d9f2
commit 929a62a0d7
1 changed files with 1 additions and 1 deletions

View File

@ -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;