refactor: remove redundant casts

This commit is contained in:
Dundar Göc
2021-10-07 11:17:02 +02:00
parent c61a3865ee
commit 6d9dea4201
14 changed files with 27 additions and 27 deletions

View File

@@ -2363,7 +2363,7 @@ void msg_reset_scroll(void)
// non-displayed part of msg_grid is considered invalid.
for (int i = 0; i < MIN(msg_scrollsize(), msg_grid.Rows); i++) {
grid_clear_line(&msg_grid, msg_grid.line_offset[i],
(int)msg_grid.Columns, false);
msg_grid.Columns, false);
}
}
} else {