X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=target-openrisc%2Ftranslate.c;h=723b77d3b4913e52cf3fceba3cfeae38ca894cf2;hb=8cfd04959a023f87e1e6727e608a20f168441370;hp=a6050ba6d854ea78aae8eeaa54d790b2bd3baf97;hpb=48bc6bab479e5abb542119f3974603afd882c246;p=qemu.git diff --git a/target-openrisc/translate.c b/target-openrisc/translate.c index a6050ba6d..723b77d3b 100644 --- a/target-openrisc/translate.c +++ b/target-openrisc/translate.c @@ -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) {