summaryrefslogtreecommitdiff
path: root/parseutils.c
diff options
context:
space:
mode:
Diffstat (limited to 'parseutils.c')
-rw-r--r--parseutils.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/parseutils.c b/parseutils.c
index 7498b75..76876fb 100644
--- a/parseutils.c
+++ b/parseutils.c
@@ -650,10 +650,10 @@ AppendKeysymList(ExprDef * list, char *sym)
if (list->value.list.nSyms >= list->value.list.szSyms)
{
list->value.list.szSyms *= 2;
- list->value.list.syms = uTypedRecalloc(list->value.list.syms,
- list->value.list.nSyms,
- list->value.list.szSyms,
- char *);
+ list->value.list.syms = recallocarray(list->value.list.syms,
+ list->value.list.nSyms,
+ list->value.list.szSyms,
+ sizeof(char *));
if (list->value.list.syms == NULL)
{
FATAL("Couldn't resize list of symbols for append\n");