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
This commit is contained in:
Vadim Zeitlin 2004-10-16 11:31:27 +00:00
parent a5593369fc
commit 170b04bae6

View 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;