]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/mstream.cpp
Cured some small doc typos; some WIN16 fixes; transferred DLL WinMain to
[wxWidgets.git] / src / common / mstream.cpp
index ceec4b05bc3074705aa8249f5d47c449bab0404d..35e384bade7a58e8c2bd39878faf28d28469107d 100644 (file)
@@ -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);
 }