refactor: remove redundant casts

This commit is contained in:
Dundar Göc
2022-03-06 12:40:31 +01:00
parent 918ab6bf00
commit ff032f2710
14 changed files with 28 additions and 30 deletions

View File

@@ -639,8 +639,8 @@ void ui_grid_resize(handle_T grid_handle, int width, int height, Error *error)
}
} else {
// non-positive indicates no request
wp->w_height_request = (int)MAX(height, 0);
wp->w_width_request = (int)MAX(width, 0);
wp->w_height_request = MAX(height, 0);
wp->w_width_request = MAX(width, 0);
win_set_inner_size(wp);
}
}