Commit b19d3e77 authored by Alexandre Julliard's avatar Alexandre Julliard

start: Use standard va_list instead of __ms_va_list.

parent d244f902
...@@ -77,7 +77,7 @@ static void fatal_error(const WCHAR *msg, DWORD error_code, const WCHAR *filenam ...@@ -77,7 +77,7 @@ static void fatal_error(const WCHAR *msg, DWORD error_code, const WCHAR *filenam
output(L": "); output(L": ");
args[0] = (DWORD_PTR)filename; args[0] = (DWORD_PTR)filename;
status = FormatMessageW(FORMAT_MESSAGE_ALLOCATE_BUFFER | FORMAT_MESSAGE_FROM_SYSTEM | FORMAT_MESSAGE_ARGUMENT_ARRAY, status = FormatMessageW(FORMAT_MESSAGE_ALLOCATE_BUFFER | FORMAT_MESSAGE_FROM_SYSTEM | FORMAT_MESSAGE_ARGUMENT_ARRAY,
NULL, error_code, 0, (LPWSTR)&lpMsgBuf, 0, (__ms_va_list *)args ); NULL, error_code, 0, (LPWSTR)&lpMsgBuf, 0, (va_list *)args );
if (!status) if (!status)
{ {
WINE_ERR("FormatMessage failed\n"); WINE_ERR("FormatMessage failed\n");
......
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