[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 1/3] Fix conversions from pointer to tcg_target_
From: |
Alexander Graf |
Subject: |
Re: [Qemu-devel] [PATCH 1/3] Fix conversions from pointer to tcg_target_long |
Date: |
Mon, 18 Jul 2011 09:39:49 +0200 |
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(void *), especially for w64.
>
> See 4b4a72e55660abf7efe85aca78762dcfea5519ad which fixed the
> same issue for the other targets.
Changes the code to be aligned with the i386 target, so I'm in favor.
Acked-by: Alexander Graf <address@hidden>
Alex