From: Vadim Zeitlin Date: Thu, 6 Apr 2006 11:51:41 +0000 (+0000) Subject: added missing const to fix last commit X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/8d3dd069480fad1bc4b7df95b09d647bb7c04545 added missing const to fix last commit git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38598 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/strconv.cpp b/src/common/strconv.cpp index 4e610d300c..412dcbe2ce 100644 --- a/src/common/strconv.cpp +++ b/src/common/strconv.cpp @@ -150,7 +150,8 @@ static size_t decode_utf16(const wxUint16* input, wxUint32& output) static wxUint32 wxDecodeSurrogate(const wxDecodeSurrogate_t **pSrc) { wxUint32 out; - const size_t n = decode_utf16(wx_reinterpret_cast(wxUint16 *, *pSrc), out); + const size_t + n = decode_utf16(wx_reinterpret_cast(const wxUint16 *, *pSrc), out); if ( n == wxCONV_FAILED ) *pSrc = NULL; else