Commit 43e3e1e4 authored by Alexandre Julliard's avatar Alexandre Julliard

winedbg: Use the standard va_list instead of __ms_va_list.

parent 9183aec7
...@@ -147,12 +147,12 @@ void dbg_outputW(const WCHAR* buffer, int len) ...@@ -147,12 +147,12 @@ void dbg_outputW(const WCHAR* buffer, int len)
int WINAPIV dbg_printf(const char* format, ...) int WINAPIV dbg_printf(const char* format, ...)
{ {
static char buf[4*1024]; static char buf[4*1024];
__ms_va_list valist; va_list valist;
int len; int len;
__ms_va_start(valist, format); va_start(valist, format);
len = vsnprintf(buf, sizeof(buf), format, valist); len = vsnprintf(buf, sizeof(buf), format, valist);
__ms_va_end(valist); va_end(valist);
if (len <= -1 || len >= sizeof(buf)) if (len <= -1 || len >= sizeof(buf))
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment