]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/ffile.cpp
Enable gnomeprint support for the .debs
[wxWidgets.git] / src / common / ffile.cpp
index 7887d45fe5742f5c0f06d786788765049dec48b0..736bbea55f9717f1778d24470b6851ecb2cab0dd 100644 (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);