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
This commit is contained in:
Vadim Zeitlin
2005-09-25 20:45:25 +00:00
parent 9000cdfb2a
commit c88c6e94c0

View 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;
}