commit | 04935fb17e5f0f66b82cf4546b9752d3d1fa650e | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sat Jan 08 16:19:22 2022 +0000 |
committer | Bram Moolenaar <Bram@vim.org> | Sat Jan 08 16:19:22 2022 +0000 |
tree | d80c59d316f2f17a27a6541a8eb40d01cc49eca8 | |
parent | 143367256836b0f69881dc0c65ff165ae091dbc5 [diff] [blame] |
patch 8.2.4043: using int for second argument of ga_init2() Problem: Using int for second argument of ga_init2(). Solution: Remove unnessary type cast (int) when using sizeof().
diff --git a/src/fileio.c b/src/fileio.c index c33625a..1fcf0d9 100644 --- a/src/fileio.c +++ b/src/fileio.c
@@ -4774,7 +4774,7 @@ struct dirent *dp; # endif - ga_init2(gap, (int)sizeof(void *), 20); + ga_init2(gap, sizeof(void *), 20); # ifdef FEAT_EVAL # define FREE_ITEM(item) do { \