Alexandre Julliard : krnl386: Use the standard va_list instead of __ms_va_list.
Alexandre Julliard
julliard at winehq.org
Fri Oct 22 14:46:11 CDT 2021
Module: wine
Branch: master
Commit: b14447b137c526a8e337b21bab1ae1e5fc11039f
URL: https://source.winehq.org/git/wine.git/?a=commit;h=b14447b137c526a8e337b21bab1ae1e5fc11039f
Author: Alexandre Julliard <julliard at winehq.org>
Date: Fri Oct 22 11:11:58 2021 +0200
krnl386: Use the standard va_list instead of __ms_va_list.
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/krnl386.exe16/thunk.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/dlls/krnl386.exe16/thunk.c b/dlls/krnl386.exe16/thunk.c
index c8a247299b4..3ae61e1fe96 100644
--- a/dlls/krnl386.exe16/thunk.c
+++ b/dlls/krnl386.exe16/thunk.c
@@ -2381,9 +2381,9 @@ INT WINAPI k32LoadStringA(HINSTANCE instance, UINT resource_id,
/***********************************************************************
* k32wvsprintfA (KERNEL32.16)
*/
-INT WINAPI k32wvsprintfA(LPSTR buffer, LPCSTR spec, __ms_va_list args)
+INT WINAPI k32wvsprintfA(LPSTR buffer, LPCSTR spec, va_list args)
{
- static INT (WINAPI *pwvsprintfA)(LPSTR, LPCSTR, __ms_va_list);
+ static INT (WINAPI *pwvsprintfA)(LPSTR, LPCSTR, va_list);
if(!pwvsprintfA) pwvsprintfA = user32_proc_address("wvsprintfA");
return (*pwvsprintfA)(buffer, spec, args);
@@ -2394,12 +2394,12 @@ INT WINAPI k32wvsprintfA(LPSTR buffer, LPCSTR spec, __ms_va_list args)
*/
INT WINAPIV k32wsprintfA(LPSTR buffer, LPCSTR spec, ...)
{
- __ms_va_list args;
+ va_list args;
INT res;
- __ms_va_start(args, spec);
+ va_start(args, spec);
res = k32wvsprintfA(buffer, spec, args);
- __ms_va_end(args);
+ va_end(args);
return res;
}
More information about the wine-cvs
mailing list