From 0b66af673e82261081f94aa3f02a4992e872062b Mon Sep 17 00:00:00 2001 From: Huw Davies Date: Wed, 10 Jul 2019 09:50:17 +0100 Subject: [PATCH] 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 Signed-off-by: Alexandre Julliard --- 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 1162ea790d5..e3cff25b767 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;