Commit 04688867834663227f6a8eb7e72f03684ac8a8df

Thomas de Grivel 2023-08-04T19:59:39

tramp

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/x86/ffiw64.c b/src/x86/ffiw64.c
index 46c0dde..0213fa8 100644
--- a/src/x86/ffiw64.c
+++ b/src/x86/ffiw64.c
@@ -254,7 +254,7 @@ EFI64(ffi_prep_closure_loc)(ffi_closure* closure,
   if (ffi_tramp_is_present(closure))
     {
       /* Initialize the static trampoline's parameters. */
-      ffi_tramp_set_parms (closure->ftramp, ffi_closure_win64_alt, closure);
+      ffi_tramp_set_parms (closure->tramp.ftramp, ffi_closure_win64_alt, closure);
       goto out;
     }
 #endif