summaryrefslogtreecommitdiff
path: root/src/undo.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/undo.c')
-rw-r--r--src/undo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/undo.c b/src/undo.c
index ec972f0b6..4d186d453 100644
--- a/src/undo.c
+++ b/src/undo.c
@@ -3081,7 +3081,7 @@ ex_undolist(exarg_T *eap UNUSED)
*/
mark = ++lastmark;
nomark = ++lastmark;
- ga_init2(&ga, (int)sizeof(char *), 20);
+ ga_init2(&ga, sizeof(char *), 20);
uhp = curbuf->b_u_oldhead;
while (uhp != NULL)