aboutsummaryrefslogtreecommitdiff
path: root/tcg/tcg.h
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2013-08-20 14:35:34 -0700
committerRichard Henderson <rth@twiddle.net>2013-09-02 09:08:29 -0700
commit04d5a1da70dfe1a3a5ac5b5a8e7a7b8136d3a985 (patch)
tree1e1e4f829b40d6aa602cdd7552f2e5d484f6f7d9 /tcg/tcg.h
parentb93949ef6a5dea2b22987f2aa3028068e751a7e4 (diff)
tcg: Change tcg_qemu_tb_exec return to uintptr_t
Reviewed-by: Aurelien Jarno <aurelien@aurel32.net> Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'tcg/tcg.h')
-rw-r--r--tcg/tcg.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/tcg/tcg.h b/tcg/tcg.h
index 3f869dd9b0..2fce485abc 100644
--- a/tcg/tcg.h
+++ b/tcg/tcg.h
@@ -733,8 +733,7 @@ TCGv_i64 tcg_const_local_i64(int64_t val);
#if !defined(tcg_qemu_tb_exec)
# define tcg_qemu_tb_exec(env, tb_ptr) \
- ((tcg_target_ulong (*)(void *, void *))tcg_ctx.code_gen_prologue)(env, \
- tb_ptr)
+ ((uintptr_t (*)(void *, void *))tcg_ctx.code_gen_prologue)(env, tb_ptr)
#endif
void tcg_register_jit(void *buf, size_t buf_size);