aboutsummaryrefslogtreecommitdiffhomepage
path: root/c.c
diff options
context:
space:
mode:
Diffstat (limited to 'c.c')
-rw-r--r--c.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/c.c b/c.c
index ef4a7a1..5ccce27 100644
--- a/c.c
+++ b/c.c
@@ -3540,7 +3540,7 @@ docomp(struct comp *cm)
decl.isdef = st.varini;
if (st.funcdef) {
const struct typedata *td = &typedata[decl.ty.dat];
- struct function fn = { cm->fnarena, decl.name, .globl = decl.scls != SCSTATIC };
+ struct function fn = { &cm->fnarena, decl.name, .globl = decl.scls != SCSTATIC };
fn.fnty = decl.ty;
fn.retty = td->ret;
decl.isdef = 1;