aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/highlight.c
diff options
context:
space:
mode:
authorDundar Göc <gocdundar@gmail.com>2022-03-06 12:40:31 +0100
committerDundar Göc <gocdundar@gmail.com>2022-03-06 23:02:10 +0100
commitff032f2710974dcf5930187f1925534da93db199 (patch)
tree0791529e147a564b35f87880832583641ecae01c /src/nvim/highlight.c
parent918ab6bf0064d5d147d3b10a56fb4f95d355c171 (diff)
downloadrneovim-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.c2
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);