aboutsummaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
authorlemon <lsof@mailbox.org>2022-08-17 13:10:45 +0200
committerlemon <lsof@mailbox.org>2022-08-17 13:32:11 +0200
commit86242b6cc1f53a86fcce1312211d3232661bf454 (patch)
treea86552654922058fc53c1678878bb5c720bd25f6 /bootstrap
parent37cd29c0299dc3a726c7f8273cf203a868133f57 (diff)
collatz checks
Diffstat (limited to 'bootstrap')
-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);
}