]> Git Repo - qemu.git/commit - target-sparc/translate.c
Fix conversions from pointer to tcg_target_long
authorStefan Weil <[email protected]>
Sat, 2 Apr 2011 11:36:31 +0000 (13:36 +0200)
committerAurelien Jarno <[email protected]>
Sat, 9 Apr 2011 22:45:16 +0000 (00:45 +0200)
commit4b4a72e55660abf7efe85aca78762dcfea5519ad
tree22532f10fa69f908d2eacfaf539fa37614c52e6a
parent2caa9e9d2e0f356cc244bc41ce1d3e81663f6782
Fix conversions from pointer to tcg_target_long

tcg_gen_exit_tb takes a parameter of type tcg_target_long,
so the type casts of pointer to long should be replaced by
type casts of pointer to tcg_target_long (suggested by Blue Swirl).

These changes are needed for build environments where
sizeof(long) != sizeof(void *), especially for w64.

Signed-off-by: Stefan Weil <[email protected]>
Signed-off-by: Aurelien Jarno <[email protected]>
12 files changed:
gen-icount.h
target-alpha/translate.c
target-arm/translate.c
target-cris/translate.c
target-i386/translate.c
target-lm32/translate.c
target-m68k/translate.c
target-microblaze/translate.c
target-mips/translate.c
target-ppc/translate.c
target-sh4/translate.c
target-sparc/translate.c
This page took 0.028946 seconds and 4 git commands to generate.