Commit 929a62a0d72571d977757832daf07fe7ad1aa425

Authored by aurel32
1 parent fdbbb5d9

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
Showing 1 changed file with 1 additions and 1 deletions
target-mips/translate_init.c
... ... @@ -417,7 +417,7 @@ static const mips_def_t mips_defs[] =
417 417 #endif
418 418 };
419 419  
420   -static const mips_def_t *cpu_mips_find_by_name (const unsigned char *name)
  420 +static const mips_def_t *cpu_mips_find_by_name (const char *name)
421 421 {
422 422 int i;
423 423  
... ...