Re: [Qemu-devel] [PATCH] w32: Fix compilation and replace non-portable usage of ulong

2011-05-20 Thread Andreas Färber
Am 15.05.2011 um 12:36 schrieb Aurelien Jarno: On Sun, May 15, 2011 at 11:38:04AM +0200, Stefan Weil wrote: ulong is undefined for w32 (and maybe other) compilations. Darwin Replace it by uintptr_t (which also fixes compilation for w64 and is a better choice for pointer to integer conversio

Re: [Qemu-devel] [PATCH] w32: Fix compilation and replace non-portable usage of ulong

2011-05-15 Thread Aurelien Jarno
On Sun, May 15, 2011 at 11:38:04AM +0200, Stefan Weil wrote: > ulong is undefined for w32 (and maybe other) compilations. > Replace it by uintptr_t (which also fixes compilation for w64 > and is a better choice for pointer to integer conversions). > > Cc: Aurelien Jarno > Signed-off-by: Stefan We

[Qemu-devel] [PATCH] w32: Fix compilation and replace non-portable usage of ulong

2011-05-15 Thread Stefan Weil
ulong is undefined for w32 (and maybe other) compilations. Replace it by uintptr_t (which also fixes compilation for w64 and is a better choice for pointer to integer conversions). Cc: Aurelien Jarno Signed-off-by: Stefan Weil --- target-ppc/cpu.h |4 ++-- 1 files changed, 2 insertions(+),