aboutsummaryrefslogtreecommitdiff
path: root/cfg.c
diff options
context:
space:
mode:
authorQuentin Carbonneaux <[email protected]>2017-01-12 22:31:51 -0500
committerQuentin Carbonneaux <[email protected]>2017-01-12 22:31:51 -0500
commit2b4ece6f99c18df090a127ec20c60ff05cbc0705 (patch)
treee8ef009433b47325520cd6b7f429409cccedce6b /cfg.c
parente38da51c14d9eaf8c53b58b3d2e33d7b37768f29 (diff)
use a less obtuse api for vnew()
Diffstat (limited to 'cfg.c')
-rw-r--r--cfg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cfg.c b/cfg.c
index bebf0fa..583629b 100644
--- a/cfg.c
+++ b/cfg.c
@@ -207,7 +207,7 @@ addfron(Blk *a, Blk *b)
if (a->fron[n] == b)
return;
if (!a->nfron)
- a->fron = vnew(++a->nfron, sizeof a->fron[0], alloc);
+ a->fron = vnew(++a->nfron, sizeof a->fron[0], Pfn);
else
vgrow(&a->fron, ++a->nfron);
a->fron[a->nfron-1] = b;