(void*)(size_t)(x) should be safe, c90, and warning-less. sizeof(size_t)==sizeof(void*) everywhere I could test. This is not guaranteed but the contrary is suspicious. I'll commit this getting rid of the macro.
_______________________________________________ Freetype-devel mailing list Freetype-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/freetype-devel