Merge pull request #117 from frida/fix/windows-regression

Fix Windows regression
This commit is contained in:
Anthony Green
2014-04-12 19:29:13 -04:00

View File

@@ -746,7 +746,7 @@ ffi_prep_raw_closure_loc (ffi_raw_closure* closure,
} }
else if (cif->abi == FFI_THISCALL) 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 #endif
closure->cif = cif; closure->cif = cif;