Warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31605 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
ba88951339
commit
c3816108b4
@ -109,7 +109,7 @@ bool wxFFile::ReadAll(wxString *str)
|
|||||||
wxCHECK_MSG( IsOpened(), false, wxT("can't read from closed file") );
|
wxCHECK_MSG( IsOpened(), false, wxT("can't read from closed file") );
|
||||||
wxCHECK_MSG( Length() >= 0, false, wxT("invalid length") );
|
wxCHECK_MSG( Length() >= 0, false, wxT("invalid length") );
|
||||||
size_t length = (size_t)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);
|
clearerr(m_fp);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user