clang-tidy: address google-readability-casting lints

At least those involving `static_cast`.
This commit is contained in:
Ben Boeckel
2022-05-17 13:10:30 -04:00
committed by Brad King
parent 9409e5c04f
commit 6ff03d463f
30 changed files with 95 additions and 73 deletions
+1 -1
View File
@@ -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);