]> git.saurik.com Git - wxWidgets.git/commitdiff
use size_t for the total size of data instead of wxFileSize_t (msg catalogs can't...
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 16 Oct 2004 11:31:27 +0000 (11:31 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 16 Oct 2004 11:31:27 +0000 (11:31 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29913 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/intl.cpp

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