aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--x86_64-gen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/x86_64-gen.c b/x86_64-gen.c
index 01213ad..a0c8280 100644
--- a/x86_64-gen.c
+++ b/x86_64-gen.c
@@ -614,7 +614,7 @@ void gfunc_call(int nb_args)
if (bt == VT_STRUCT) {
size = type_size(&sv->type, &align);
/* align to stack align size */
- size = (size + 15) & ~16;
+ size = (size + 15) & ~15;
/* generate structure store */
r = get_reg(RC_INT);
gen_offs_sp(0x8d, r, args_size);