https://bugs.winehq.org/show_bug.cgi?id=38337
--- Comment #23 from Sergey Isakov isakov-sl@bk.ru --- /Volumes/MacHD/Users/sergey/Documents/Projects/wine/dlls/gdi32/freetype.c:841:53: warning: incompatible pointer types passing 'SInt16 *' (aka 'short *') to parameter of type 'ResFileRefNum *' (aka 'int *') [-Wincompatible-pointer-types] s = FSOpenResourceFile(&ref, 0, NULL, fsRdPerm, &res_ref); ^~~~~~~~ ~~~~~~~~~~~~~~~~~~
The variable is local and defined as SInt16. This is the error! There must be SInt32 res_ref = 0; I prefer also initialize it.