]> git.saurik.com Git - wxWidgets.git/commitdiff
This size/offset stuff is a mess, but leaving this one warning
authorRon Lee <ron@debian.org>
Wed, 10 Nov 2004 14:37:55 +0000 (14:37 +0000)
committerRon Lee <ron@debian.org>
Wed, 10 Nov 2004 14:37:55 +0000 (14:37 +0000)
about a mismatch that makes the test a NOOP is just silly.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30414 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/intl.cpp

index 11c6340293b796683170c1b188d6dccb80e05aa7..2350c1a41e19f4bacb02492576d0882401806124 100644 (file)
@@ -1120,7 +1120,7 @@ bool wxMsgCatalogFile::Load(const wxChar *szDirPrefix, const wxChar *szName0,
     return false;
 
   // get the file size (assume it is less than 4Gb...)
-  size_t nSize = fileMsg.Length();
+  wxFileSize_t nSize = fileMsg.Length();
   if ( nSize == wxInvalidOffset )
     return false;