]> git.proxmox.com Git - qemu.git/commit - target-cris/translate.c
Fix conversions from pointer to tcg_target_long
authorStefan Weil <weil@mail.berlios.de>
Sat, 2 Apr 2011 11:36:31 +0000 (13:36 +0200)
committerAurelien Jarno <aurelien@aurel32.net>
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 <weil@mail.berlios.de>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
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