winedbg: 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:02:19 +02:00
parent 9183aec7c7
commit 43e3e1e409
1 changed files with 3 additions and 3 deletions

View File

@ -147,12 +147,12 @@ void dbg_outputW(const WCHAR* buffer, int len)
int WINAPIV dbg_printf(const char* format, ...)
{
static char buf[4*1024];
__ms_va_list valist;
va_list valist;
int len;
__ms_va_start(valist, format);
va_start(valist, format);
len = vsnprintf(buf, sizeof(buf), format, valist);
__ms_va_end(valist);
va_end(valist);
if (len <= -1 || len >= sizeof(buf))
{