diff --git a/frida-gum/src/stalker/event_sink.rs b/frida-gum/src/stalker/event_sink.rs index 0b88852..49326e3 100644 --- a/frida-gum/src/stalker/event_sink.rs +++ b/frida-gum/src/stalker/event_sink.rs @@ -137,10 +137,10 @@ unsafe extern "C" fn call_query_mask( } pub(crate) fn event_sink_transform( - mut event_sink: &S, + event_sink: &mut S, ) -> *mut frida_gum_sys::GumEventSink { let rust = frida_gum_sys::RustEventSinkVTable { - user_data: &mut event_sink as *mut _ as *mut c_void, + user_data: event_sink as *mut _ as *mut c_void, query_mask: Some(call_query_mask::), start: Some(call_start::), process: Some(call_process::),