diff options
author | Stefan Weil <sw@weilnetz.de> | 2012-04-12 15:43:09 +0200 |
---|---|---|
committer | Stefan Weil <sw@weilnetz.de> | 2012-04-15 21:25:17 +0200 |
commit | b69e48a84d83162efd4782472572783e99840cf5 (patch) | |
tree | 506fe6d7806e10dda1582b14d7a2e07d3df2b1b7 /target-mips | |
parent | 58b9630d7e2252d077b632c3a26d1aa334cf5fe6 (diff) |
target-mips: Fix type cast for w64 (uintptr_t)
This changes nothing for other hosts.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Diffstat (limited to 'target-mips')
-rw-r--r-- | target-mips/op_helper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target-mips/op_helper.c b/target-mips/op_helper.c index bca1d70e1a..5627447953 100644 --- 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 *)(unsigned long)env->active_tc.gpr[4]; + unsigned char *fmt = (void *)(uintptr_t)env->active_tc.gpr[4]; printf("%s", fmt); } break; |