another fix for HP-UX 11.11 vsscanf, should have been in r51260
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51416 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -325,7 +325,8 @@ static int vswscanf(const wchar_t *ws, const wchar_t *format, va_list argptr)
|
|||||||
wxCHECK_MSG( wxStrstr(format, _T("%c")) == NULL, -1,
|
wxCHECK_MSG( wxStrstr(format, _T("%c")) == NULL, -1,
|
||||||
_T("incomplete vswscanf implementation doesn't allow %c") );
|
_T("incomplete vswscanf implementation doesn't allow %c") );
|
||||||
|
|
||||||
return vsscanf(wxConvLibc.cWX2MB(ws), wxConvLibc.cWX2MB(format), argptr);
|
return vsscanf(wx_static_cast(const char*, wxConvLibc.cWX2MB(ws)),
|
||||||
|
wxConvLibc.cWX2MB(format), argptr);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user