aboutsummaryrefslogtreecommitdiff
path: root/bootstrap/types.c
diff options
context:
space:
mode:
Diffstat (limited to 'bootstrap/types.c')
-rw-r--r--bootstrap/types.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/bootstrap/types.c b/bootstrap/types.c
index 788f001..fb5b50b 100644
--- a/bootstrap/types.c
+++ b/bootstrap/types.c
@@ -320,6 +320,7 @@ arraydecay(const struct type *ty) {
return ty;
ty2.t = TYptr;
+ ty2.align = ty2.size = g_targ.ptrsize;
return interntype(ty2);
}