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/eval.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/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 2ec748a217..8cdb03c341 100644 --- a/src/nvim/eval.c +++ b/src/nvim/eval.c @@ -9440,7 +9440,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 |