]> git.saurik.com Git - wxWidgets.git/commitdiff
fixed a signed/unsigned comparison warning introudced by last warning fix...
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 25 Sep 2005 20:45:25 +0000 (20:45 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 25 Sep 2005 20:45:25 +0000 (20:45 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35697 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/intl.cpp

index d7d4c60fdc7d1bc9b9f67d0ae93720369b37fdd6..31332b83ba557238841a5fa852c13997f33e7dde 100644 (file)
@@ -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;
   }