Jeremy White : mshtml: Declare prototype of wine_dos_get_file_name correctly; fixes Gecko install on win64.

Alexandre Julliard julliard at winehq.org
Thu Nov 19 10:15:20 CST 2009


Module: wine
Branch: master
Commit: 9145a1cdb27404a4694fcd58a70a414995963fbd
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=9145a1cdb27404a4694fcd58a70a414995963fbd

Author: Jeremy White <jwhite at winehq.org>
Date:   Wed Nov 18 14:46:00 2009 -0600

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

---

 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..cfe3cd0 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);




More information about the wine-cvs mailing list