mirror of
https://github.com/mii443/qemu.git
synced 2025-08-22 23:25:48 +00: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