[Bug 38337] clang compiling warnings
wine-bugs at winehq.org
wine-bugs at winehq.org
Wed Feb 27 21:43:25 CST 2019
https://bugs.winehq.org/show_bug.cgi?id=38337
--- Comment #23 from Sergey Isakov <isakov-sl at 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.
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
More information about the wine-bugs
mailing list