From e9531db94d220b8471165de39c50f1a8fc4032df Mon Sep 17 00:00:00 2001 From: David Surovell Date: Sat, 1 Apr 2006 16:40:08 +0000 Subject: [PATCH] fix compilation problem in prior commit git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38505 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/strconv.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/strconv.cpp b/src/common/strconv.cpp index 960aa42566..e50eddf3f9 100644 --- a/src/common/strconv.cpp +++ b/src/common/strconv.cpp @@ -1656,8 +1656,8 @@ const char *wxMBConv_iconv::GetMBNul(size_t *nulLen) const wchar_t *wnul = L""; size_t inLen = sizeof(wchar_t), outLen = WXSIZEOF(m_nulBuf); - char *in = (char *)wnul, - *out = self->m_nulBuf; + const char *in = (char *)wnul; + char *out = self->m_nulBuf; if ( iconv(w2m, &in, &inLen, &out, &outLen) == (size_t)-1 ) { self->m_nulLen = (size_t)-1; -- 2.50.0