diff options
Diffstat (limited to 'base_cgen.c')
-rw-r--r-- | base_cgen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/base_cgen.c b/base_cgen.c index 1f0b09c..d773ba9 100644 --- a/base_cgen.c +++ b/base_cgen.c @@ -94,7 +94,7 @@ static bool cgen_ident(CGenerator *g, Identifier i, Location *where) { Declaration *decl = id_decl->decl; if ((decl->flags & DECL_FLAG_HAS_EXPR) && (decl->flags & DECL_FLAG_CONST)) { if (decl->expr.kind == EXPR_FN) { - cgen_fn_name(g, &decl->expr.fn, NULL); + cgen_fn_name(g, decl->expr.fn, NULL); return true; } } |