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