diff options
Diffstat (limited to 'decls_cgen.c')
-rw-r--r-- | decls_cgen.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/decls_cgen.c b/decls_cgen.c index 048dd9d..967294f 100644 --- a/decls_cgen.c +++ b/decls_cgen.c @@ -182,10 +182,10 @@ static void cgen_decls_type(CGenerator *g, Type *type) { cgen_nl(g); ++g->indent_lvl; arr_foreach(sdef->fields, Field, f) { - cgen_type_pre(g, &f->type); + cgen_type_pre(g, f->type); cgen_write(g, " "); cgen_ident_simple(g, f->name); - cgen_type_post(g, &f->type); + cgen_type_post(g, f->type); cgen_write(g, ";"); cgen_nl(g); } |