diff options
author | zeertzjq <zeertzjq@outlook.com> | 2022-03-09 08:15:18 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-09 08:15:18 +0800 |
commit | 205b3765f2c04e3839b15a8d1ce79bd7ea8e4d3d (patch) | |
tree | b3db8da594fd829224607a11d21b43b3d329b76f /src/nvim/ui.c | |
parent | f33cea4682340ea2b622fa879dd6fca2c80ea1d5 (diff) | |
parent | ff032f2710974dcf5930187f1925534da93db199 (diff) | |
download | rneovim-205b3765f2c04e3839b15a8d1ce79bd7ea8e4d3d.tar.gz rneovim-205b3765f2c04e3839b15a8d1ce79bd7ea8e4d3d.tar.bz2 rneovim-205b3765f2c04e3839b15a8d1ce79bd7ea8e4d3d.zip |
Merge pull request #17622 from dundargoc/refactor/clang-tidy/remove-redundant-casts
refactor/clang tidy/remove redundant casts
Diffstat (limited to 'src/nvim/ui.c')
-rw-r--r-- | src/nvim/ui.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/ui.c b/src/nvim/ui.c index 31b9614c34..7c67c058b0 100644 --- a/src/nvim/ui.c +++ b/src/nvim/ui.c @@ -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); } } |