diff options
author | Dundar Göc <gocdundar@gmail.com> | 2022-03-06 12:40:31 +0100 |
---|---|---|
committer | Dundar Göc <gocdundar@gmail.com> | 2022-03-06 23:02:10 +0100 |
commit | ff032f2710974dcf5930187f1925534da93db199 (patch) | |
tree | 0791529e147a564b35f87880832583641ecae01c /src/nvim/highlight.c | |
parent | 918ab6bf0064d5d147d3b10a56fb4f95d355c171 (diff) | |
download | rneovim-ff032f2710974dcf5930187f1925534da93db199.tar.gz rneovim-ff032f2710974dcf5930187f1925534da93db199.tar.bz2 rneovim-ff032f2710974dcf5930187f1925534da93db199.zip |
refactor: 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); |