Skip to content

Commit 51ec382

Browse files
committed
fix: clippy
1 parent 4f36615 commit 51ec382

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/libs/kill_tree/src/macos.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ pub(crate) async fn get_process_info(process_id: ProcessId) -> Option<ProcessInf
3333
process_id as i32,
3434
libproc::PROC_PIDTBSDINFO as i32,
3535
0,
36-
std::ptr::addr_of_mut!(proc_bsdinfo) as *mut c_void,
36+
std::ptr::addr_of_mut!(proc_bsdinfo).cast::<c_void>(),
3737
proc_bsdinfo_size_sign,
3838
)
3939
};

0 commit comments

Comments
 (0)