Warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41217 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -741,7 +741,7 @@ bool wxPrintfConvSpec::LoadArg(wxPrintfArg *p, va_list &argptr)
|
||||
break;
|
||||
|
||||
case wxPAT_CHAR:
|
||||
p->pad_char = va_arg(argptr, int); // char is promoted to int when passed through '...'
|
||||
p->pad_char = (char)va_arg(argptr, int); // char is promoted to int when passed through '...'
|
||||
break;
|
||||
case wxPAT_WCHAR:
|
||||
p->pad_wchar = (wchar_t)va_arg(argptr, int); // char is promoted to int when passed through '...'
|
||||
|
Reference in New Issue
Block a user