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:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user