On Wed, Feb 04, 2009 at 09:04:05PM +0100, Joerg Sonnenberger wrote: > On Wed, Feb 04, 2009 at 08:43:43PM +0100, Tomas Carnecky wrote: > > By first casting to long and then to the final type. Of course > > this assumes that sizeof(long) == sizeof(void *). If the Win32 > > folks care enough about warnings, we could make macros for this. > > Please use either uintptr_t (prefered) or size_t (fallback) instead of > long. Also really make this a macro so that it can easily be searched > for.
mod +1 I think autoconf has some magic to generate typedefs for uintptr_t and friends when they are not available. Make it look like that. :)
pgptP32GCzNrW.pgp
Description: PGP signature
_______________________________________________ xorg mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/xorg
