Commit 441a01363cb0025913a6284972cf9eb266443ebc

Thomas de Grivel 2023-08-15T13:50:14

sparc

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/sparc/ffi64.c b/src/sparc/ffi64.c
index 5ae43e8..7f799c9 100644
--- a/src/sparc/ffi64.c
+++ b/src/sparc/ffi64.c
@@ -479,7 +479,7 @@ ffi_prep_closure_loc (ffi_closure* closure,
 		      void *user_data,
 		      void *codeloc)
 {
-  unsigned int *tramp = (unsigned int *) &closure->tramp[0];
+  unsigned int *tramp = (unsigned int *) &closure->tramp.tramp[0];
   unsigned long fn;
 
   if (cif->abi != FFI_V9)