patch 8.1.1393: unnecessary type casts
Problem: Unnecessary type casts.
Solution: Remove type casts from alloc() and lalloc() calls. (Mike Williams)
diff --git a/src/ops.c b/src/ops.c
index b205cbb..0adb2bc 100644
--- a/src/ops.c
+++ b/src/ops.c
@@ -3355,7 +3355,7 @@
free_yank_all();
*y_current = *curr;
y_current->y_array = (char_u **)lalloc_clear(
- (long_u)(sizeof(char_u *) * y_current->y_size), TRUE);
+ sizeof(char_u *) * y_current->y_size, TRUE);
if (y_current->y_array == NULL)
y_current->y_size = 0;
else