src/x86/ffi64.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- libffi-3.0.9.orig/src/x86/ffi64.c
+++ libffi-3.0.9/src/x86/ffi64.c
@@ -377,7 +377,7 @@
if (align < 8)
align = 8;
- bytes = ALIGN(bytes, align);
+ bytes = ALIGN (bytes, align);
bytes += cif->arg_types[i]->size;
}
else
@@ -389,7 +389,7 @@
if (ssecount)
flags |= 1 << 11;
cif->flags = flags;
- cif->bytes = bytes;
+ cif->bytes = ALIGN (bytes, 8);
return FFI_OK;
}