Commit f0fcb195 authored by Alexandre Julliard's avatar Alexandre Julliard

expand: Use the standard va_list instead of __ms_va_list.

parent a8a250cd
...@@ -28,16 +28,16 @@ ...@@ -28,16 +28,16 @@
static int WINAPIV myprintf(const char* format, ...) static int WINAPIV myprintf(const char* format, ...)
{ {
__ms_va_list va; va_list va;
char tmp[8192]; char tmp[8192];
DWORD w = 0; DWORD w = 0;
int len; int len;
__ms_va_start(va, format); va_start(va, format);
len = vsnprintf(tmp, sizeof(tmp), format, va); len = vsnprintf(tmp, sizeof(tmp), format, va);
if (len > 0) if (len > 0)
WriteFile(GetStdHandle(STD_ERROR_HANDLE), tmp, len, &w, NULL); WriteFile(GetStdHandle(STD_ERROR_HANDLE), tmp, len, &w, NULL);
__ms_va_end(va); va_end(va);
return w; return w;
} }
......
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