]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/intl.cpp
Warning fixes.
[wxWidgets.git] / src / common / intl.cpp
index 7dbd7b0cb37fcfe5452ab05465cf1f5ad9223ab2..34e2fc3938632be61243aa124f934d455a1a47bf 100644 (file)
@@ -1130,7 +1130,7 @@ bool wxMsgCatalogFile::Load(const wxChar *szDirPrefix, const wxChar *szName0,
 
   // read the whole file in memory
   m_pData = new size_t8[nSize];
 
   // read the whole file in memory
   m_pData = new size_t8[nSize];
-  if ( fileMsg.Read(m_pData, nSize) != nSize + (size_t)0 ) {
+  if ( fileMsg.Read(m_pData, nSize) != nSize ) {
     wxDELETEA(m_pData);
     return false;
   }
     wxDELETEA(m_pData);
     return false;
   }