From 3b2f109dbbea2847114c62315676eed7a3986dbc Mon Sep 17 00:00:00 2001 From: Paul Cornett Date: Mon, 28 Jan 2008 04:14:54 +0000 Subject: [PATCH] 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 --- src/common/wxcrt.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/common/wxcrt.cpp b/src/common/wxcrt.cpp index 84bf3e438c..6f3377d6cd 100644 --- a/src/common/wxcrt.cpp +++ b/src/common/wxcrt.cpp @@ -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, _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 -- 2.45.2