summaryrefslogtreecommitdiffstats
path: root/Source/CursesDialog
diff options
context:
space:
mode:
Diffstat (limited to 'Source/CursesDialog')
-rw-r--r--Source/CursesDialog/cmCursesMainForm.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CursesDialog/cmCursesMainForm.cxx b/Source/CursesDialog/cmCursesMainForm.cxx
index 8f17806..be6bc57 100644
--- a/Source/CursesDialog/cmCursesMainForm.cxx
+++ b/Source/CursesDialog/cmCursesMainForm.cxx
@@ -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;
}