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/textprop.c b/src/textprop.c
index 66ad694..e993afc 100644
--- a/src/textprop.c
+++ b/src/textprop.c
@@ -678,7 +678,7 @@
semsg(_("E969: Property type %s already defined"), name);
return;
}
- prop = (proptype_T *)alloc_clear((int)(sizeof(proptype_T) + STRLEN(name)));
+ prop = (proptype_T *)alloc_clear(sizeof(proptype_T) + STRLEN(name));
if (prop == NULL)
return;
STRCPY(prop->pt_name, name);