diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-01-08 16:19:22 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-01-08 16:19:22 +0000 |
commit | 04935fb17e5f0f66b82cf4546b9752d3d1fa650e (patch) | |
tree | d80c59d316f2f17a27a6541a8eb40d01cc49eca8 /src/tag.c | |
parent | 143367256836b0f69881dc0c65ff165ae091dbc5 (diff) |
patch 8.2.4043: using int for second argument of ga_init2()v8.2.4043
Problem: Using int for second argument of ga_init2().
Solution: Remove unnessary type cast (int) when using sizeof().
Diffstat (limited to 'src/tag.c')
-rw-r--r-- | src/tag.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1752,7 +1752,7 @@ find_tags( #endif for (mtt = 0; mtt < MT_COUNT; ++mtt) { - ga_init2(&ga_match[mtt], (int)sizeof(char_u *), 100); + ga_init2(&ga_match[mtt], sizeof(char_u *), 100); hash_init(&ht_match[mtt]); } @@ -2952,7 +2952,7 @@ get_tagfname( if (first) { ga_clear_strings(&tag_fnames); - ga_init2(&tag_fnames, (int)sizeof(char_u *), 10); + ga_init2(&tag_fnames, sizeof(char_u *), 10); do_in_runtimepath((char_u *) #ifdef FEAT_MULTI_LANG # ifdef VMS |