aboutsummaryrefslogtreecommitdiff
path: root/tccgen.c
diff options
context:
space:
mode:
Diffstat (limited to 'tccgen.c')
-rw-r--r--tccgen.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tccgen.c b/tccgen.c
index 33c42de..53a2b6b 100644
--- a/tccgen.c
+++ b/tccgen.c
@@ -2801,6 +2801,7 @@ static void struct_decl(CType *type, int u)
if (tok == '}')
break;
}
+ s->c = type_size(&int_type, &align);
skip('}');
} else {
maxalign = 1;