summaryrefslogtreecommitdiff
path: root/target-moxie/translate.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2013-08-20 15:53:10 -0700
committerRichard Henderson <rth@twiddle.net>2013-09-02 09:08:30 -0700
commit8cfd04959a023f87e1e6727e608a20f168441370 (patch)
tree0c9a90e5f8c206bd1aa704138d98554e452503e7 /target-moxie/translate.c
parent48bc6bab479e5abb542119f3974603afd882c246 (diff)
downloadqemu-8cfd04959a023f87e1e6727e608a20f168441370.tar.gz
qemu-8cfd04959a023f87e1e6727e608a20f168441370.tar.bz2
qemu-8cfd04959a023f87e1e6727e608a20f168441370.zip
tcg: Change tcg_gen_exit_tb argument to uintptr_t
And update all users. Reviewed-by: Aurelien Jarno <aurelien@aurel32.net> Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'target-moxie/translate.c')
-rw-r--r--target-moxie/translate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target-moxie/translate.c b/target-moxie/translate.c
index 8cc0bb7bfb..a93196f47b 100644
--- a/target-moxie/translate.c
+++ b/target-moxie/translate.c
@@ -135,7 +135,7 @@ static inline void gen_goto_tb(CPUMoxieState *env, DisasContext *ctx,
!ctx->singlestep_enabled) {
tcg_gen_goto_tb(n);
tcg_gen_movi_i32(cpu_pc, dest);
- tcg_gen_exit_tb((tcg_target_long)tb + n);
+ tcg_gen_exit_tb((uintptr_t)tb + n);
} else {
tcg_gen_movi_i32(cpu_pc, dest);
if (ctx->singlestep_enabled) {