summaryrefslogtreecommitdiff
path: root/6/simp.c
diff options
context:
space:
mode:
Diffstat (limited to '6/simp.c')
-rw-r--r--6/simp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/6/simp.c b/6/simp.c
index 7ab6f15..812218c 100644
--- a/6/simp.c
+++ b/6/simp.c
@@ -994,6 +994,7 @@ capture(Simp *s, Node *n, Node *dst)
for (i = 0; i < nenv; i++) {
lappend(&envt, &nenvt, decltype(env[i]));
sz += size(env[i]);
+ sz = alignto(sz, decltype(env[i]));
}
t = gentemp(n->loc, mktytuple(n->loc, envt, nenvt), &dcl);