projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
58b9630
)
target-mips: Fix type cast for w64 (uintptr_t)
author
Stefan Weil
<sw@weilnetz.de>
Thu, 12 Apr 2012 13:43:09 +0000
(15:43 +0200)
committer
Stefan Weil
<sw@weilnetz.de>
Sun, 15 Apr 2012 19:25:17 +0000
(21:25 +0200)
This changes nothing for other hosts.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
target-mips/op_helper.c
patch
|
blob
|
history
diff --git
a/target-mips/op_helper.c
b/target-mips/op_helper.c
index bca1d70e1afe60147bc9c929a44edbd74f7048a7..5627447953e2d92f7a82b4e80c849c919b0bc792 100644
(file)
--- a/
target-mips/op_helper.c
+++ b/
target-mips/op_helper.c
@@
-2275,7
+2275,7
@@
void helper_pmon (int function)
break;
case 158:
{
- unsigned char *fmt = (void *)(u
nsigned long
)env->active_tc.gpr[4];
+ unsigned char *fmt = (void *)(u
intptr_t
)env->active_tc.gpr[4];
printf("%s", fmt);
}
break;