Huw Davies : gdi32: Use the correct type for the final parameter of FSOpenResourceFile().

Alexandre Julliard julliard at winehq.org
Wed Jul 31 13:55:51 CDT 2019


Module: wine
Branch: master
Commit: 0b66af673e82261081f94aa3f02a4992e872062b
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=0b66af673e82261081f94aa3f02a4992e872062b

Author: Huw Davies <huw at codeweavers.com>
Date:   Wed Jul 10 09:50:17 2019 +0100

gdi32: Use the correct type for the final parameter of FSOpenResourceFile().

This is SInt16 for 32-bit, but int for 64-bit.

Signed-off-by: Huw Davies <huw at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/gdi32/freetype.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/gdi32/freetype.c b/dlls/gdi32/freetype.c
index 1162ea7..e3cff25 100644
--- a/dlls/gdi32/freetype.c
+++ b/dlls/gdi32/freetype.c
@@ -818,7 +818,7 @@ static char *find_cache_dir(void)
 static char **expand_mac_font(const char *path)
 {
     FSRef ref;
-    SInt16 res_ref;
+    ResFileRefNum res_ref;
     OSStatus s;
     unsigned int idx;
     const char *out_dir;




More information about the wine-cvs mailing list