Remove warning

This commit is contained in:
Andy Cedilnik 2003-03-07 11:53:20 -05:00
parent 1e22626b78
commit 063d6b5ecb
1 changed files with 1 additions and 1 deletions

View File

@ -869,7 +869,7 @@ void cmCursesMainForm::HandleInput()
key >= '0' && key <= '9' ||
key == '_' )
{
if ( m_SearchString.size() < x-10 )
if ( m_SearchString.size() < static_cast<std::string::size_type>(x-10) )
{
m_SearchString += key;
}