aboutsummaryrefslogtreecommitdiffstats
path: root/gen-icount.h
diff options
context:
space:
mode:
Diffstat (limited to 'gen-icount.h')
-rw-r--r--gen-icount.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gen-icount.h b/gen-icount.h
index 8879da6..5fb3829 100644
--- a/gen-icount.h
+++ b/gen-icount.h
@@ -29,7 +29,7 @@ static void gen_icount_end(TranslationBlock *tb, int num_insns)
if (use_icount) {
*icount_arg = num_insns;
gen_set_label(icount_label);
- tcg_gen_exit_tb((long)tb + 2);
+ tcg_gen_exit_tb((tcg_target_long)tb + 2);
}
}