mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-22 06:09:14 -05:00
clang-tidy: address google-readability-casting lints
At least those involving `static_cast`.
This commit is contained in:
@@ -973,7 +973,7 @@ void cmCursesMainForm::JumpToCacheEntry(const char* astr)
|
||||
}
|
||||
}
|
||||
}
|
||||
if (size_t(findex) >= 3 * this->NumberOfVisibleEntries - 1) {
|
||||
if (static_cast<size_t>(findex) >= 3 * this->NumberOfVisibleEntries - 1) {
|
||||
set_current_field(this->Form, this->Fields[2]);
|
||||
} else if (new_page(this->Fields[findex + 1])) {
|
||||
form_driver(this->Form, REQ_NEXT_PAGE);
|
||||
|
||||
Reference in New Issue
Block a user