w32: Fix compilation and replace non-portable usage of ulong
authorStefan Weil <weil@mail.berlios.de>
Sat, 14 May 2011 23:38:04 +0000 (23:38 +0000)
committerAlexander Graf <agraf@suse.de>
Fri, 20 May 2011 15:56:03 +0000 (17:56 +0200)
commit2f1b90d2f097d518f94e95c2f1a5b26ec9162773
treef65c54c9b7f6166ab70715be374f3f20ad42da18
parentece4349b7bde0e8d3d1aa4b9e440b1d1a492233d
w32: Fix compilation and replace non-portable usage of ulong

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 <aurelien@aurel32.net>
Signed-off-by: Stefan Weil <weil@mail.berlios.de>
Reviewed-by: Aurelien Jarno <aurelien@aurel32.net>
Signed-off-by: Alexander Graf <agraf@suse.de>
target-ppc/cpu.h