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:
parent
a5593369fc
commit
170b04bae6
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user