summaryrefslogtreecommitdiffstats
path: root/tcg/ppc/tcg-target.h
diff options
context:
space:
mode:
authorRichard Henderson2013-08-20 23:35:34 +0200
committerRichard Henderson2013-09-02 18:08:29 +0200
commit04d5a1da70dfe1a3a5ac5b5a8e7a7b8136d3a985 (patch)
tree1e1e4f829b40d6aa602cdd7552f2e5d484f6f7d9 /tcg/ppc/tcg-target.h
parenttcg: Change flush_icache_range arguments to uintptr_t (diff)
downloadqemu-04d5a1da70dfe1a3a5ac5b5a8e7a7b8136d3a985.tar.gz
qemu-04d5a1da70dfe1a3a5ac5b5a8e7a7b8136d3a985.tar.xz
qemu-04d5a1da70dfe1a3a5ac5b5a8e7a7b8136d3a985.zip
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/ppc/tcg-target.h')
-rw-r--r--tcg/ppc/tcg-target.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tcg/ppc/tcg-target.h b/tcg/ppc/tcg-target.h
index 613c5ff4fc..c9f8ff5206 100644
--- a/tcg/ppc/tcg-target.h
+++ b/tcg/ppc/tcg-target.h
@@ -102,7 +102,7 @@ typedef enum {
#define TCG_AREG0 TCG_REG_R27
#define tcg_qemu_tb_exec(env, tb_ptr) \
- ((long __attribute__ ((longcall)) \
+ ((uintptr_t __attribute__ ((longcall)) \
(*)(void *, void *))tcg_ctx.code_gen_prologue)(env, tb_ptr)
#endif