// read and so the conversion would fail) and, as the file contents is kept
// in memory by wxTextFile anyhow, it shouldn't be a big problem to read
// the file entirely
- const size_t bufSize = m_file.Length() + 4 /* for trailing NULs */;
+ const size_t bufSize = (size_t)(m_file.Length() + 4 /* for trailing NULs */ );
size_t bufPos = 0;
wxCharBuffer buf(bufSize - 1 /* it adds 1 internally */);
}
#endif // wxUSE_TEXTFILE
-