From 3e2b84d295531720917bf46afc532fc6d877e3ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ole=20Andr=C3=A9=20Vadla=20Ravn=C3=A5s?= Date: Sat, 12 Apr 2014 01:04:04 +0200 Subject: [PATCH] Fix Windows regression Introduced by b5fed601948237037513a9b7f967c8fc6c9ff1f6. --- src/x86/ffi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/x86/ffi.c b/src/x86/ffi.c index 72bed067..bcfc1537 100644 --- a/src/x86/ffi.c +++ b/src/x86/ffi.c @@ -746,7 +746,7 @@ ffi_prep_raw_closure_loc (ffi_raw_closure* closure, } else if (cif->abi == FFI_THISCALL) { - FFI_INIT_TRAMPOLINE_RAW_THISCALL (&closure->tramp[0], &ffi_closure_raw_THISCALL, codeloc); + FFI_INIT_TRAMPOLINE_RAW_THISCALL (&closure->tramp[0], &ffi_closure_raw_THISCALL, codeloc, cif->bytes); } #endif closure->cif = cif;