]> git.proxmox.com Git - qemu.git/blobdiff - target-cris/translate.c
tcg: Change tcg_gen_exit_tb argument to uintptr_t
[qemu.git] / target-cris / translate.c
index 2a4beeb8698d4d704dbc05d6d2c0c2acd6a7f980..617e1b4242fa2a65810f27c83df0e82f2e80e5b8 100644 (file)
@@ -558,7 +558,7 @@ static void gen_goto_tb(DisasContext *dc, int n, target_ulong dest)
     if ((tb->pc & TARGET_PAGE_MASK) == (dest & TARGET_PAGE_MASK)) {
         tcg_gen_goto_tb(n);
         tcg_gen_movi_tl(env_pc, dest);
-                tcg_gen_exit_tb((tcg_target_long)tb + n);
+                tcg_gen_exit_tb((uintptr_t)tb + n);
     } else {
         tcg_gen_movi_tl(env_pc, dest);
         tcg_gen_exit_tb(0);