refactor: remove redundant casts

This commit is contained in:
Dundar Göc
2022-03-06 12:40:31 +01:00
parent 918ab6bf00
commit ff032f2710
14 changed files with 28 additions and 30 deletions

View File

@@ -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