diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2003-03-07 16:53:20 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2003-03-07 16:53:20 (GMT) |
commit | 063d6b5ecb8683db301c5153f6038b155615fe62 (patch) | |
tree | c76b76ab9c1eb213b5e9f2eda505636797746010 /Source/CursesDialog | |
parent | 1e22626b787530e2e800bce3481f9dfdf3e1101c (diff) | |
download | CMake-063d6b5ecb8683db301c5153f6038b155615fe62.zip CMake-063d6b5ecb8683db301c5153f6038b155615fe62.tar.gz CMake-063d6b5ecb8683db301c5153f6038b155615fe62.tar.bz2 |
Remove warning
Diffstat (limited to 'Source/CursesDialog')
-rw-r--r-- | Source/CursesDialog/cmCursesMainForm.cxx | 2 |
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; } |