summaryrefslogtreecommitdiff
path: root/src/change.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/change.c')
-rw-r--r--src/change.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/change.c b/src/change.c
index d2aa1530f..8f0cacb45 100644
--- a/src/change.c
+++ b/src/change.c
@@ -282,7 +282,7 @@ f_listener_add(typval_T *argvars, typval_T *rettv)
return;
}
- lnr = (listener_T *)alloc_clear((sizeof(listener_T)));
+ lnr = (listener_T *)alloc_clear(sizeof(listener_T));
if (lnr == NULL)
{
free_callback(callback, partial);