]> git.proxmox.com Git - qemu.git/blobdiff - target-openrisc/translate.c
tcg: Change tcg_gen_exit_tb argument to uintptr_t
[qemu.git] / target-openrisc / translate.c
index a6050ba6d854ea78aae8eeaa54d790b2bd3baf97..723b77d3b4913e52cf3fceba3cfeae38ca894cf2 100644 (file)
@@ -198,7 +198,7 @@ static void gen_goto_tb(DisasContext *dc, int n, target_ulong dest)
                                        likely(!dc->singlestep_enabled)) {
         tcg_gen_movi_tl(cpu_pc, dest);
         tcg_gen_goto_tb(n);
-        tcg_gen_exit_tb((tcg_target_long)tb + n);
+        tcg_gen_exit_tb((uintptr_t)tb + n);
     } else {
         tcg_gen_movi_tl(cpu_pc, dest);
         if (dc->singlestep_enabled) {