summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorOle André Vadla Ravnås <ole.andre.ravnas@tillitech.com>2014-04-12 01:04:04 +0200
committerOle André Vadla Ravnås <ole.andre.ravnas@tillitech.com>2014-04-12 01:06:09 +0200
commit3e2b84d295531720917bf46afc532fc6d877e3ec (patch)
tree190feefa88d35e10370cee0a1cec121d80d30602 /src
parentdc33cb3c998da521a960385c1269c3aef552f69f (diff)
downloadlibffi-3e2b84d295531720917bf46afc532fc6d877e3ec.tar.gz
Fix Windows regression
Introduced by b5fed601948237037513a9b7f967c8fc6c9ff1f6.
Diffstat (limited to 'src')
-rw-r--r--src/x86/ffi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/x86/ffi.c b/src/x86/ffi.c
index 72bed06..bcfc153 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;