freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ft-devel] LLP64 model outside Win64


From: Ruslan Nikolaev
Subject: Re: [ft-devel] LLP64 model outside Win64
Date: Tue, 13 Feb 2018 05:45:05 +0000 (UTC)

How about casting it to size_t instead of 'unsigned long' in the else case? It should normally work. Anyway, assuming that size_t is the same size as a pointer is better than doing the same with unsigned long which happens to be different with LLP64.


On Monday, February 12, 2018 9:02 PM, suzuki toshiya <address@hidden> wrote:


suzuki toshiya wrote:
> The usage of FT_UINT_TO_POINTER() macro is only used to store
> the 32-bit integer (GID) into the storage of FT_List object
> directly.

Oh, I slipped to quote Alexei for finding this. Thank you, Alexei!

> Regards,
> mpsuzuki
>
> P.S.
> If we have a time machine, we should suggest to have an union
> instead of void pointer in FT_ListRec X-(
>
>
> _______________________________________________
> Freetype-devel mailing list
>


_______________________________________________
Freetype-devel mailing list



reply via email to

[Prev in Thread] Current Thread [Next in Thread]