icinfo: Use the standard va_list instead of __ms_va_list.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alexandre Julliard 2021-10-25 11:01:02 +02:00
parent 2f680d281b
commit bac8aff293
1 changed files with 3 additions and 3 deletions

View File

@ -26,14 +26,14 @@ static int WINAPIV mywprintf(const WCHAR *format, ...)
{
static char output_bufA[65536];
static WCHAR output_bufW[sizeof(output_bufA)];
__ms_va_list parms;
va_list parms;
DWORD nOut;
BOOL res = FALSE;
HANDLE hout = GetStdHandle(STD_OUTPUT_HANDLE);
__ms_va_start(parms, format);
va_start(parms, format);
vswprintf(output_bufW, ARRAY_SIZE(output_bufW), format, parms);
__ms_va_end(parms);
va_end(parms);
/* Try to write as unicode whenever we think it's a console */
if (((DWORD_PTR)hout & 3) == 3)