1
1
mirror of https://github.com/tstack/lnav.git synced 2024-11-08 22:14:26 +03:00

[build] silence a warning

This commit is contained in:
Timothy Stack 2021-09-23 21:39:28 -07:00
parent 3c5b86b5ed
commit 272de832d5

View File

@ -576,7 +576,7 @@ public:
}
nonstd::optional<struct timeval> time_for_row(vis_line_t row) {
if (row < this->text_line_count()) {
if (row < (ssize_t) this->text_line_count()) {
return this->find_line(this->at(row))->get_timeval();
}
return nonstd::nullopt;