From 6f10fb5abd8d46fbfa5b447983f6101fc170585c Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Thu, 19 Nov 2015 20:18:23 +0100 Subject: [PATCH] fix old libffi --- src/libffi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2