From: Michael Wallner Date: Thu, 19 Nov 2015 19:18:23 +0000 (+0100) Subject: fix old libffi X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=6f10fb5abd8d46fbfa5b447983f6101fc170585c;p=m6w6%2Fext-psi fix old libffi --- diff --git a/src/libffi.c b/src/libffi.c index d515827..ee077af 100644 --- a/src/libffi.c +++ b/src/libffi.c @@ -152,7 +152,7 @@ static inline void PSI_LibffiCallInitClosure(PSI_Context *C, PSI_LibffiCall *cal call->code); #elif PSI_HAVE_FFI_PREP_CLOSURE - rc = ffi_prep_closure(data->code, &context->signature, psi_ffi_handler, data); + rc = ffi_prep_closure(call->code, &context->signature, psi_ffi_handler, impl); #else # error "Neither ffi_prep_closure() nor ffi_prep_closure_loc() available" #endif