summaryrefslogtreecommitdiffstats
path: root/src/dict.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/dict.c')
-rw-r--r--src/dict.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dict.c b/src/dict.c
index 64c9d5f9e1..9c6b7d4532 100644
--- a/src/dict.c
+++ b/src/dict.c
@@ -759,7 +759,7 @@ dict2string(typval_T *tv, int copyID, int restore_copyID)
if ((d = tv->vval.v_dict) == NULL)
return NULL;
- ga_init2(&ga, (int)sizeof(char), 80);
+ ga_init2(&ga, sizeof(char), 80);
ga_append(&ga, '{');
todo = (int)d->dv_hashtab.ht_used;