Warning fix.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31605 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba 2005-01-27 20:20:45 +00:00
parent ba88951339
commit c3816108b4

View File

@ -109,7 +109,7 @@ bool wxFFile::ReadAll(wxString *str)
wxCHECK_MSG( IsOpened(), false, wxT("can't read from closed file") );
wxCHECK_MSG( Length() >= 0, false, wxT("invalid length") );
size_t length = (size_t)Length();
wxCHECK_MSG( length == Length(), false, wxT("huge file not supported") );
wxCHECK_MSG( (wxFileOffset)length == Length(), false, wxT("huge file not supported") );
clearerr(m_fp);