Alexandre Julliard : regsvr32: Use the standard va_list instead of __ms_va_list.

Alexandre Julliard julliard at winehq.org
Mon Oct 25 16:30:06 CDT 2021


Module: wine
Branch: master
Commit: f8ffea3a8747587355569b761c58e89d39727d05
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=f8ffea3a8747587355569b761c58e89d39727d05

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Mon Oct 25 11:01:45 2021 +0200

regsvr32: Use the standard va_list instead of __ms_va_list.

Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 programs/regsvr32/regsvr32.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/programs/regsvr32/regsvr32.c b/programs/regsvr32/regsvr32.c
index fb307d797a1..c56479015d8 100644
--- a/programs/regsvr32/regsvr32.c
+++ b/programs/regsvr32/regsvr32.c
@@ -39,7 +39,7 @@ static BOOL Silent = FALSE;
 static void WINAPIV output_write(UINT id, ...)
 {
     WCHAR fmt[1024];
-    __ms_va_list va_args;
+    va_list va_args;
     WCHAR *str;
     DWORD len, nOut, ret;
 
@@ -51,10 +51,10 @@ static void WINAPIV output_write(UINT id, ...)
         return;
     }
 
-    __ms_va_start(va_args, id);
+    va_start(va_args, id);
     len = FormatMessageW(FORMAT_MESSAGE_FROM_STRING|FORMAT_MESSAGE_ALLOCATE_BUFFER,
                          fmt, 0, 0, (LPWSTR)&str, 0, &va_args);
-    __ms_va_end(va_args);
+    va_end(va_args);
     if (len == 0 && GetLastError() != ERROR_NO_WORK_DONE)
     {
         WINE_FIXME("Could not format string: le=%u, fmt=%s\n", GetLastError(), wine_dbgstr_w(fmt));




More information about the wine-cvs mailing list