patch 8.1.1386: unessesary type casts for lalloc()
Problem: Unessesary type casts for lalloc().
Solution: Remove type casts. Change lalloc(size, TRUE) to alloc(size).
diff --git a/src/spell.c b/src/spell.c
index fa5be8b..1e14fab 100644
--- a/src/spell.c
+++ b/src/spell.c
@@ -7820,8 +7820,7 @@
/* We use "cnt" as an array: CNT(badword_idx, goodword_idx). */
#define CNT(a, b) cnt[(a) + (b) * (badlen + 1)]
- cnt = (int *)lalloc((long_u)(sizeof(int) * (badlen + 1) * (goodlen + 1)),
- TRUE);
+ cnt = (int *)alloc(sizeof(int) * (badlen + 1) * (goodlen + 1));
if (cnt == NULL)
return 0; /* out of memory */