diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2022-12-10 13:44:17 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2022-12-11 14:35:34 -0800 |
commit | 75af06f5f8ffc41fabd100253aad222cb4ab8662 (patch) | |
tree | cbb2735d3981ae92b272b761eb966e9c910ecea1 /parseutils.c | |
parent | 265ea3a77418df2744575f1168f89a33f01e72d4 (diff) |
Replace uCalloc() and uTypedCalloc() with direct calloc() calls
All these wrappers did was mess with types.
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'parseutils.c')
-rw-r--r-- | parseutils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/parseutils.c b/parseutils.c index 539aff9..7498b75 100644 --- a/parseutils.c +++ b/parseutils.c @@ -435,7 +435,7 @@ CreateKeysymList(char *sym) { def->value.list.nSyms = 1; def->value.list.szSyms = 4; - def->value.list.syms = uTypedCalloc(4, char *); + def->value.list.syms = calloc(4, sizeof(char *)); if (def->value.list.syms != NULL) { def->value.list.syms[0] = sym; |