提交 b69e48a8 编写于 作者: S Stefan Weil

target-mips: Fix type cast for w64 (uintptr_t)

This changes nothing for other hosts.
Signed-off-by: NStefan Weil <sw@weilnetz.de>
上级 58b9630d
......@@ -2275,7 +2275,7 @@ void helper_pmon (int function)
break;
case 158:
{
unsigned char *fmt = (void *)(unsigned long)env->active_tc.gpr[4];
unsigned char *fmt = (void *)(uintptr_t)env->active_tc.gpr[4];
printf("%s", fmt);
}
break;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册