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/ex_docmd.c b/src/ex_docmd.c
index be95992..7134359 100644
--- a/src/ex_docmd.c
+++ b/src/ex_docmd.c
@@ -691,7 +691,7 @@
#ifdef FEAT_EVAL
CLEAR_FIELD(cstack);
cstack.cs_idx = -1;
- ga_init2(&lines_ga, (int)sizeof(wcmd_T), 10);
+ ga_init2(&lines_ga, sizeof(wcmd_T), 10);
real_cookie = getline_cookie(fgetline, cookie);