On Tue, Sep 11, 2018 at 3:14 PM Hin-Tak Leung <[email protected]> wrote: > - FT_Alloc_Func and FT_Realloc_Func have "long" in the headers but have > FT_Long in the implementation of the debug pairs. (the normal pair have > "long"). Some consistency would be good. I tried changing the header to > FT_Long (and redefining FT_Long to 64-bit) but unfortunately the public > header does not include the FT_Long definition in inttypes.h and it gets > rather ugly when different part of FreeType thinks of FT_Long with different > sizes... Those functions need a 64-bit type in the prototype, and neither > "long" nor "FT_Long" are currently 64-bit on win64.
Indeed, size_t is the correct C89-compliant type. Would it hurt to modify FT_Alloc_Func and FT_Realloc_Func? _______________________________________________ Freetype-devel mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/freetype-devel
