Skip to content

Commit ba6f32b

Browse files
committed
fix
1 parent d6f4798 commit ba6f32b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/test_windows_ipc.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,6 @@ fn _compile_test_windows_apis() {
3535

3636
// This function should not be called, it's just to verify types compile
3737
let _ = std::mem::size_of::<HANDLE>();
38-
let _ = GetNamedPipeClientProcessId as usize;
38+
let handle = HANDLE(std::ptr::null_mut());
39+
let _ = unsafe { GetNamedPipeClientProcessId(handle, std::ptr::null_mut()) };
3940
}

0 commit comments

Comments
 (0)