We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e72f68 commit 4f36615Copy full SHA for 4f36615
crates/libs/kill_tree/src/macos.rs
@@ -33,7 +33,7 @@ pub(crate) async fn get_process_info(process_id: ProcessId) -> Option<ProcessInf
33
process_id as i32,
34
libproc::PROC_PIDTBSDINFO as i32,
35
0,
36
- &mut proc_bsdinfo as *mut _ as *mut c_void,
+ std::ptr::addr_of_mut!(proc_bsdinfo) as *mut c_void,
37
proc_bsdinfo_size_sign,
38
)
39
};
0 commit comments