mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +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
1 changed files with 2 additions and 2 deletions
|
@ -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 a new issue