summaryrefslogtreecommitdiffstats
path: root/Source/CursesDialog
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2003-03-07 16:53:20 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2003-03-07 16:53:20 (GMT)
commit063d6b5ecb8683db301c5153f6038b155615fe62 (patch)
treec76b76ab9c1eb213b5e9f2eda505636797746010 /Source/CursesDialog
parent1e22626b787530e2e800bce3481f9dfdf3e1101c (diff)
downloadCMake-063d6b5ecb8683db301c5153f6038b155615fe62.zip
CMake-063d6b5ecb8683db301c5153f6038b155615fe62.tar.gz
CMake-063d6b5ecb8683db301c5153f6038b155615fe62.tar.bz2
Remove warning
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;
}