Skip to content
Browse files

Merge pull request #32 from alex/patch-1

Fix for a crasher due to misaligned stack on x86-32.
  • Loading branch information...
2 parents f308faf + ee18766 commit 7e1b32649efd24814e86172e196f390566f9e970 @atgreen committed
Showing with 0 additions and 2 deletions.
  1. +0 −2 src/x86/ffi.c
View
2 src/x86/ffi.c
@@ -315,9 +315,7 @@ ffi_status ffi_prep_cif_machdep(ffi_cif *cif)
cif->bytes += 4 * sizeof(ffi_arg);
#endif
-#ifdef X86_DARWIN
cif->bytes = (cif->bytes + 15) & ~0xF;
-#endif
return FFI_OK;
}

0 comments on commit 7e1b326

Please sign in to comment.
Something went wrong with that request. Please try again.