Re: [Qemu-devel] [PATCH 1/3] Fix conversions from pointer to tcg_target_long

2011-07-18 Thread Alexander Graf
On 15.07.2011, at 21:38, Stefan Weil wrote: > 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. > > These changes are needed for build environments where > sizeof(long) != sizeof(voi

Re: [Qemu-devel] [PATCH 1/3] Fix conversions from pointer to tcg_target_long

2011-07-17 Thread Guan Xuetao
It's good for unicore32 bit. Acked-by: Guan Xuetao Thanks & Regards. Guan Xuetao On Fri, 2011-07-15 at 21:38 +0200, Stefan Weil wrote: > 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_

[Qemu-devel] [PATCH 1/3] Fix conversions from pointer to tcg_target_long

2011-07-15 Thread Stefan Weil
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. These changes are needed for build environments where sizeof(long) != sizeof(void *), especially for w64. See 4b4a72e55660abf7efe85aca787