Commit cb01c2084a514e10a6fd5fa5e1d79bb4aa7d71dd

Thomas de Grivel 2023-12-11T12:15:19

x86 c99

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/x86/ffi.c b/src/x86/ffi.c
index b8bb178..69dd147 100644
--- a/src/x86/ffi.c
+++ b/src/x86/ffi.c
@@ -565,7 +565,7 @@ ffi_prep_closure_loc (ffi_closure* closure,
                       void *user_data,
                       void *codeloc)
 {
-  char *tramp = closure->tramp;
+  char *tramp = closure->tramp.tramp;
   void (*dest)(void);
   int op = 0xb8;  /* movl imm, %eax */