From: Włodzimierz Skiba Date: Thu, 27 Jan 2005 20:20:45 +0000 (+0000) Subject: Warning fix. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/c3816108b4545342713f928e5708cf679d933e12?ds=inline Warning fix. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31605 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/ffile.cpp b/src/common/ffile.cpp index 7887d45fe5..736bbea55f 100644 --- a/src/common/ffile.cpp +++ b/src/common/ffile.cpp @@ -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);