Fix sign-compare warning
This commit is contained in:
@@ -464,14 +464,14 @@ bool wxChmInputStream::Eof() const
|
||||
return (m_content==NULL ||
|
||||
m_contentStream==NULL ||
|
||||
m_contentStream->Eof() ||
|
||||
m_pos>m_size);
|
||||
(size_t)m_pos>m_size);
|
||||
}
|
||||
|
||||
|
||||
|
||||
size_t wxChmInputStream::OnSysRead(void *buffer, size_t bufsize)
|
||||
{
|
||||
if ( m_pos >= m_size )
|
||||
if ( (size_t)m_pos >= m_size )
|
||||
{
|
||||
m_lasterror = wxSTREAM_EOF;
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user