X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/75ed1d15d0d866cac78f7c0da176db8dd5288bc8..f4a4bd13d46c34069661766e9d3d2cfbdd0dbb86:/src/common/mstream.cpp?ds=sidebyside diff --git a/src/common/mstream.cpp b/src/common/mstream.cpp index ceec4b05bc..35e384bade 100644 --- a/src/common/mstream.cpp +++ b/src/common/mstream.cpp @@ -30,7 +30,7 @@ wxMemoryInputStream::wxMemoryInputStream(const char *data, size_t len) : wxInputStream() { - m_i_streambuf->SetBufferIO((char *)data, data+len); + m_i_streambuf->SetBufferIO((char*) data, (char*) (data+len)); m_i_streambuf->Fixed(TRUE); }