summaryrefslogtreecommitdiff
path: root/src/common/container.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/container.c')
-rw-r--r--src/common/container.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/container.c b/src/common/container.c
index 9bbb9730c6..54f041bac7 100644
--- a/src/common/container.c
+++ b/src/common/container.c
@@ -78,7 +78,7 @@ smartlist_ensure_capacity(smartlist_t *sl, int size)
}
sl->capacity = higher;
sl->list = tor_reallocarray(sl->list, sizeof(void *),
- ((size_t)sl->capacity));
+ ((size_t)sl->capacity));
}
}