Skip to content
Snippets Groups Projects
Commit f0fcb195 authored by Alexandre Julliard's avatar Alexandre Julliard
Browse files

expand: Use the standard va_list instead of __ms_va_list.

parent a8a250cd
No related branches found
No related tags found
No related merge requests found
......@@ -28,16 +28,16 @@
static int WINAPIV myprintf(const char* format, ...)
{
__ms_va_list va;
va_list va;
char tmp[8192];
DWORD w = 0;
int len;
__ms_va_start(va, format);
va_start(va, format);
len = vsnprintf(tmp, sizeof(tmp), format, va);
if (len > 0)
WriteFile(GetStdHandle(STD_ERROR_HANDLE), tmp, len, &w, NULL);
__ms_va_end(va);
va_end(va);
return w;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment