]> git.saurik.com Git - wxWidgets.git/commitdiff
another compilation fix
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 10 Jun 2001 23:15:02 +0000 (23:15 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 10 Jun 2001 23:15:02 +0000 (23:15 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10510 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/strconv.cpp

index dd2c71cab1ddb4156c6d56f59795aeb73759635e..c0c44bb58a82e5ec80014ef66d03d0af7b70ae4d 100644 (file)
@@ -97,7 +97,7 @@ WXDLLEXPORT_DATA(wxMBConv *) wxConvCurrent = &wxConvLibc;
 
 #ifdef WC_UTF16
 
-static size_t encode_utf16(wxUint32 input,wxUint16*output)
+static size_t encode_utf16(wxUint32 input, wxUint16 *output)
 {
     if (input<=0xffff)
     {
@@ -119,7 +119,7 @@ static size_t encode_utf16(wxUint32 input,wxUint16*output)
     }
 }
 
-static size_t decode_utf16(wxUint16*input,wxUint32&output)
+static size_t decode_utf16(const wxUint16* input, wxUint32& output)
 {
     if ((*input<0xd800) || (*input>0xdfff))
     {