提交 929a62a0 编写于 作者: A aurel32

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
上级 fdbbb5d9
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册