X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8399f4c6a71497d537c6d5a4084320391dae1406..24dfe917094d41d8938cc44e9ba457f7bd797687:/utils/HelpGen/src/ifcontext.cpp diff --git a/utils/HelpGen/src/ifcontext.cpp b/utils/HelpGen/src/ifcontext.cpp index 3a52dc0416..d1a36e54c8 100644 --- a/utils/HelpGen/src/ifcontext.cpp +++ b/utils/HelpGen/src/ifcontext.cpp @@ -244,7 +244,7 @@ void spInterFileContext::ParseContents( SourceParserPlugin* pPlugin ) for( size_t i = 0; i != m_Files.size(); ++i ) { - wxChar* s = (char*)(m_Contents[i].c_str()); + wxWritableCharBuffer s(m_Contents[i].char_str()); spFile* pFCtx = mParser.Parse( s, s + m_Contents[i].length() );