mirror of
git://source.winehq.org/git/wine.git
synced 2024-07-25 07:46:24 +00:00
start: Use standard va_list instead of __ms_va_list.
This commit is contained in:
parent
d244f902b3
commit
b19d3e779b
|
@ -77,7 +77,7 @@ static void fatal_error(const WCHAR *msg, DWORD error_code, const WCHAR *filenam
|
|||
output(L": ");
|
||||
args[0] = (DWORD_PTR)filename;
|
||||
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)
|
||||
{
|
||||
WINE_ERR("FormatMessage failed\n");
|
||||
|
@ -99,7 +99,7 @@ static void fatal_string_error(int which, DWORD error_code, const WCHAR *filenam
|
|||
|
||||
fatal_error(msg, error_code, filename);
|
||||
}
|
||||
|
||||
|
||||
static void fatal_string(int which)
|
||||
{
|
||||
WCHAR msg[2048];
|
||||
|
|
Loading…
Reference in a new issue