diff options
author | Brad King <brad.king@kitware.com> | 2010-06-29 13:52:12 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2010-06-29 13:52:12 (GMT) |
commit | ff1f8d0b53c37336645d4d53fc30134540d17ddd (patch) | |
tree | 140deb30db33b7dfdae6d22ecf43897640526d42 /Source/CursesDialog/cmCursesMainForm.h | |
parent | 6fc4cd86806b349c804cf9dacb2dd04c289a684f (diff) | |
download | CMake-ff1f8d0b53c37336645d4d53fc30134540d17ddd.zip CMake-ff1f8d0b53c37336645d4d53fc30134540d17ddd.tar.gz CMake-ff1f8d0b53c37336645d4d53fc30134540d17ddd.tar.bz2 |
Fix or cast more integer conversions in cmake
These were revealed by GCC's -Wconversion option. Fix types where it is
easy to do so. Cast in cases we know the integer will not be truncated.
Diffstat (limited to 'Source/CursesDialog/cmCursesMainForm.h')
-rw-r--r-- | Source/CursesDialog/cmCursesMainForm.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CursesDialog/cmCursesMainForm.h b/Source/CursesDialog/cmCursesMainForm.h index 9751999..4084415 100644 --- a/Source/CursesDialog/cmCursesMainForm.h +++ b/Source/CursesDialog/cmCursesMainForm.h @@ -147,7 +147,7 @@ protected: // Where is cmake executable std::string WhereCMake; // Number of entries shown (depends on mode -normal or advanced-) - int NumberOfVisibleEntries; + size_t NumberOfVisibleEntries; bool AdvancedMode; // Did the iteration converge (no new entries) ? bool OkToGenerate; |