From: Vadim Zeitlin Date: Sat, 16 Oct 2004 11:31:27 +0000 (+0000) Subject: use size_t for the total size of data instead of wxFileSize_t (msg catalogs can't... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/170b04bae6c1ca98bcb62db69f38d7ab0f46c808 use size_t for the total size of data instead of wxFileSize_t (msg catalogs can't be that big...) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29913 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/intl.cpp b/src/common/intl.cpp index c4e098da1a..11c6340293 100644 --- a/src/common/intl.cpp +++ b/src/common/intl.cpp @@ -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;