From 1a804528ab39f5c810cf42397702057100a94ade Mon Sep 17 00:00:00 2001 From: "K.Takata" Date: Wed, 26 Jan 2022 16:45:20 +0000 Subject: 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) --- src/alloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/alloc.c') diff --git a/src/alloc.c b/src/alloc.c index e3cd8578f6..47a099fbf1 100644 --- a/src/alloc.c +++ b/src/alloc.c @@ -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; } -- cgit v1.2.3