mirror of
https://github.com/izzy2lost/xemu.git
synced 2026-07-06 00:20:22 -07:00
target-mips: Fix type cast for w64 (uintptr_t)
This changes nothing for other hosts. Signed-off-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user