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

Huw Davies huw at codeweavers.com
Wed Jul 10 03:50:17 CDT 2019


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

Signed-off-by: Huw Davies <huw at codeweavers.com>
---
 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 1162ea790d..e3cff25b76 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;
-- 
2.18.0




More information about the wine-devel mailing list