>> -#ifdef _WIN64
>> -  /* only 64bit Windows uses the LLP64 data model, i.e., */
>> -  /* 32bit integers, 64bit pointers                      */
>> -#define FT_UINT_TO_POINTER( x ) (void*)(unsigned __int64)(x)
>> -#else
>> -#define FT_UINT_TO_POINTER( x ) (void*)(unsigned long)(x)
>> -#endif
>> +#define FT_UINT_TO_POINTER( x ) (void*)(uintptr_t)(x)
> 
> Strangely, uintptr_t never came up in
> https://savannah.nongnu.org/bugs/index.php?50560
> It is C99 though.

Exactly.  Thus we cannot use it (at least not unconditionally).  I
don't mind if the LLP64 data model gets untied from Windows, but it
should be a portable solution that works with pre-C99 compilers also.


    Werner

_______________________________________________
Freetype-devel mailing list
Freetype-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/freetype-devel

Reply via email to