Alexandre Julliard : kernel32/tests: Use WINAPIV calling convention for variadic functions.
Alexandre Julliard
julliard at winehq.org
Thu Nov 2 17:28:48 CDT 2017
Module: wine
Branch: master
Commit: e488a246a5467814bf1d3ef0f0b88373a72d82af
URL: http://source.winehq.org/git/wine.git/?a=commit;h=e488a246a5467814bf1d3ef0f0b88373a72d82af
Author: Alexandre Julliard <julliard at winehq.org>
Date: Thu Nov 2 10:17:04 2017 +0100
kernel32/tests: Use WINAPIV calling convention for variadic functions.
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/kernel32/tests/format_msg.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/kernel32/tests/format_msg.c b/dlls/kernel32/tests/format_msg.c
index 1f88e24..7098805 100644
--- a/dlls/kernel32/tests/format_msg.c
+++ b/dlls/kernel32/tests/format_msg.c
@@ -26,7 +26,7 @@
#define ULL(a,b) (((ULONG64)(a) << 32) | (b))
-static DWORD __cdecl doit(DWORD flags, LPCVOID src, DWORD msg_id, DWORD lang_id,
+static DWORD WINAPIV doit(DWORD flags, LPCVOID src, DWORD msg_id, DWORD lang_id,
LPSTR out, DWORD outsize, ... )
{
__ms_va_list list;
@@ -39,7 +39,7 @@ static DWORD __cdecl doit(DWORD flags, LPCVOID src, DWORD msg_id, DWORD lang_id,
return r;
}
-static DWORD __cdecl doitW(DWORD flags, LPCVOID src, DWORD msg_id, DWORD lang_id,
+static DWORD WINAPIV doitW(DWORD flags, LPCVOID src, DWORD msg_id, DWORD lang_id,
LPWSTR out, DWORD outsize, ... )
{
__ms_va_list list;
More information about the wine-cvs
mailing list