diff --git a/src/common/intl.cpp b/src/common/intl.cpp index 8d5410623a..bf24c944ed 100644 --- a/src/common/intl.cpp +++ b/src/common/intl.cpp @@ -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;