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/highlight.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/highlight.c')
-rw-r--r-- | src/nvim/highlight.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/highlight.c b/src/nvim/highlight.c index a01d8369ba..a1fd0d0d66 100644 --- a/src/nvim/highlight.c +++ b/src/nvim/highlight.c @@ -327,7 +327,7 @@ void update_window_hl(win_T *wp, bool invalid) wp->w_hl_attr_normal); } - for (int hlf = 0; hlf < (int)HLF_COUNT; hlf++) { + for (int hlf = 0; hlf < HLF_COUNT; hlf++) { int attr; if (wp->w_hl_ids[hlf] != 0) { attr = hl_get_ui_attr(hlf, wp->w_hl_ids[hlf], false); |