mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 04:39:45 +00:00
Use int instead of CHAR/WCHAR in va_arg() (fixes gcc-current compile
problem).
This commit is contained in:
parent
e34191fc6d
commit
9e0ae86d06
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user