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 <mpsuz...@hiroshima-u.ac.jp> 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@nongnu.org > https://lists.nongnu.org/mailman/listinfo/freetype-devel > _______________________________________________ Freetype-devel mailing list Freetype-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/freetype-devel
_______________________________________________ Freetype-devel mailing list Freetype-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/freetype-devel