diff options
Diffstat (limited to 'init.c')
-rw-r--r-- | init.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -211,7 +211,7 @@ parseinit(struct scope *s, struct type *t) p.cur = NULL; p.sub = p.obj; p.sub->offset = 0; - p.sub->type = t; + p.sub->type = typeunqual(t, NULL); for (;;) { if (p.cur) { if (tok.kind == TLBRACK || tok.kind == TPERIOD) |