diff options
| author | 2022-08-14 09:25:16 +0200 | |
|---|---|---|
| committer | 2022-08-14 09:25:16 +0200 | |
| commit | c129f77ad724aa940b53a125de0e1e4de0ca7240 (patch) | |
| tree | 57ad369bcfe02d0fb8a311c659e45cf2ae5df075 /src/util.cff | |
| parent | 66ed623e65ab9350f08061fe7cf12b989c84f65c (diff) | |
fix arena
Diffstat (limited to 'src/util.cff')
| -rw-r--r-- | src/util.cff | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util.cff b/src/util.cff index 926b1e4..18305b2 100644 --- a/src/util.cff +++ b/src/util.cff @@ -8,7 +8,7 @@ extern fn xmalloc(n usize) *void { } extern fn xcalloc(n usize, m usize) *void { - let p = calloc(n, n); + let p = calloc(n, m); assert(p != #null, "calloc"); return p; } |