Commit 9e0ae86d authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

Use int instead of CHAR/WCHAR in va_arg() (fixes gcc-current compile

problem).
parent e34191fc
......@@ -264,9 +264,9 @@ static WPRINTF_DATA WPRINTF_ExtractVAPtr( WPRINTF_FORMAT *format, va_list* args
switch(format->type)
{
case WPR_WCHAR:
result.wchar_view = va_arg( *args, WCHAR ); break;
result.wchar_view = (WCHAR)va_arg( *args, int );break;
case WPR_CHAR:
result.char_view = va_arg( *args, CHAR ); break;
result.char_view = (CHAR)va_arg( *args, int ); break;
case WPR_STRING:
result.lpcstr_view = va_arg( *args, LPCSTR); break;
case WPR_WSTRING:
......
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