]> git.proxmox.com Git - qemu.git/blobdiff - target-i386/translate.c
tcg: Change tcg_gen_exit_tb argument to uintptr_t
[qemu.git] / target-i386 / translate.c
index 065a9d320e0d6ce95f48b04700c38e7d519c65a0..6d879003b32aa40d22fd454ce24a765a7d826004 100644 (file)
@@ -2413,7 +2413,7 @@ static inline void gen_goto_tb(DisasContext *s, int tb_num, target_ulong eip)
         /* jump to same page: we can use a direct jump */
         tcg_gen_goto_tb(tb_num);
         gen_jmp_im(eip);
-        tcg_gen_exit_tb((tcg_target_long)tb + tb_num);
+        tcg_gen_exit_tb((uintptr_t)tb + tb_num);
     } else {
         /* jump to another page: currently not optimized */
         gen_jmp_im(eip);