[PATCH] winebrowser: Fix calling convention for wine_get_unix_file_name().

Huw Davies huw at codeweavers.com
Thu Jan 18 03:44:41 CST 2018


Signed-off-by: Huw Davies <huw at codeweavers.com>
---
 programs/winebrowser/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/programs/winebrowser/main.c b/programs/winebrowser/main.c
index 304ac14bbc..b1c49e7cd1 100644
--- a/programs/winebrowser/main.c
+++ b/programs/winebrowser/main.c
@@ -54,7 +54,7 @@
 
 WINE_DEFAULT_DEBUG_CHANNEL(winebrowser);
 
-typedef LPSTR (*wine_get_unix_file_name_t)(LPCWSTR unixname);
+typedef LPSTR (*CDECL wine_get_unix_file_name_t)(LPCWSTR unixname);
 
 static const WCHAR browser_key[] =
     {'S','o','f','t','w','a','r','e','\\','W','i','n','e','\\',
-- 
2.12.0




More information about the wine-devel mailing list