winedbg: Use the standard va_list instead of __ms_va_list.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
9183aec7c7
commit
43e3e1e409
|
@ -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))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue