[mshtml] Declare prototype of wine_dos_get_file_name correctly; fixes Gecko install on win64.

Jeremy White jwhite at winehq.org
Wed Nov 18 14:46:00 CST 2009


---
 dlls/mshtml/install.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/mshtml/install.c b/dlls/mshtml/install.c
index 5eca3a6..2f985fd 100644
--- a/dlls/mshtml/install.c
+++ b/dlls/mshtml/install.c
@@ -182,7 +182,7 @@ static BOOL install_from_unix_file(const char *file_name)
     int fd;
     BOOL ret;
 
-    static WCHAR *(*wine_get_dos_file_name)(const char*);
+    static WCHAR * CDECL (*wine_get_dos_file_name)(const char*);
     static const WCHAR kernel32W[] = {'k','e','r','n','e','l','3','2','.','d','l','l',0};
 
     fd = open(file_name, O_RDONLY);
-- 
1.5.6.5




More information about the wine-patches mailing list