diff options
Diffstat (limited to 'decl.c')
-rw-r--r-- | decl.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -709,6 +709,7 @@ addmember(struct structbuilder *b, struct qualtype mt, char *name, int align, ui if (t->size < mt.type->size) t->size = mt.type->size; } + b->bits = 0; } else { /* bit-field */ if (!(mt.type->prop & PROPINT)) error(&tok.loc, "bit-field has invalid type"); |