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/eval.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/eval.c')
-rw-r--r-- | src/nvim/eval.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/eval.c b/src/nvim/eval.c index c5c03455b7..aa7b9e80a4 100644 --- a/src/nvim/eval.c +++ b/src/nvim/eval.c @@ -9441,7 +9441,7 @@ void new_script_vars(scid_T id) hashtab_T *ht; scriptvar_T *sv; - ga_grow(&ga_scripts, (int)(id - ga_scripts.ga_len)); + ga_grow(&ga_scripts, id - ga_scripts.ga_len); { /* Re-allocating ga_data means that an ht_array pointing to * ht_smallarray becomes invalid. We can recognize this: ht_mask is |