]> git.saurik.com Git - wxWidgets.git/commitdiff
wxFile::Length() return type fix (replaces last check in)
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 28 Sep 2004 12:05:29 +0000 (12:05 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 28 Sep 2004 12:05:29 +0000 (12:05 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29490 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/intl.cpp

index 8d5410623a01749f9d012d5633f1cceebf3928bb..bf24c944ed7d014cb93aec3f5d0ff0866fee8383 100644 (file)
@@ -1120,7 +1120,7 @@ bool wxMsgCatalogFile::Load(const wxChar *szDirPrefix, const wxChar *szName0,
     return false;
 
   // get the file size
-  size_t nSize = fileMsg.Length();
+  wxFileOffset nSize = fileMsg.Length();
   if ( nSize == wxInvalidOffset )
     return false;