[Bf-committers] 64 bits coding

Joe Eagar joeedh at gmail.com
Sun Apr 29 23:44:09 CEST 2007


Brecht Van Lommel wrote:
>
> If casting to long works on all platforms, long could be used here as 
> well? Otherwise I think it would be good to have a typedef for an 
> integer type that can be cast to a pointer and vice versa, which would 
> be long on gcc and something else on other platforms.
>
> Brecht.
>
>
C99 has this typedef, intptr_t in stdint.h

Joe


More information about the Bf-committers mailing list