From: Vadim Zeitlin <vadim@wxwidgets.org> Date: Sun, 25 Sep 2005 20:45:25 +0000 (+0000) Subject: fixed a signed/unsigned comparison warning introudced by last warning fix... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/c88c6e94c01df742f16f19fb2dd63a490b4d57bf fixed a signed/unsigned comparison warning introudced by last warning fix... git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35697 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/intl.cpp b/src/common/intl.cpp index d7d4c60fdc..31332b83ba 100644 --- a/src/common/intl.cpp +++ b/src/common/intl.cpp @@ -1141,7 +1141,7 @@ bool wxMsgCatalogFile::Load(const wxChar *szDirPrefix, const wxChar *szName, // read the whole file in memory m_pData = new size_t8[nSize]; - if ( fileMsg.Read(m_pData, nSize) != nSize ) { + if ( fileMsg.Read(m_pData, nSize) != lenFile ) { wxDELETEA(m_pData); return false; }