0
0
mirror of https://github.com/vim/vim.git synced 2025-09-26 04:04:07 -04:00

patch 8.2.4223: long/int compiler warnings; function arguments swapped

Problem:    Long/int compiler warnings; function arguments swapped.
Solution:   Add type casts.  Swap arguments. (Ken Takata, closes #9632)
This commit is contained in:
K.Takata
2022-01-26 16:45:20 +00:00
committed by Bram Moolenaar
parent 47d1666d60
commit 1a804528ab
4 changed files with 5 additions and 3 deletions

View File

@@ -705,7 +705,7 @@ ga_init(garray_T *gap)
ga_init2(garray_T *gap, size_t itemsize, int growsize)
{
ga_init(gap);
gap->ga_itemsize = itemsize;
gap->ga_itemsize = (int)itemsize;
gap->ga_growsize = growsize;
}