diff options
| author | Chris Denton <chris@chrisdenton.dev> | 2024-07-15 06:14:53 +0000 |
|---|---|---|
| committer | Chris Denton <chris@chrisdenton.dev> | 2024-07-15 06:14:53 +0000 |
| commit | 816d90ae5f87e9819f5693fa38e56ed7d76697ca (patch) | |
| tree | 225e1f1f2f9ff3428a9da8b068e8e54a317b9de3 /library/std/src | |
| parent | ffe8fc276ea593d0e1b9c8aee6edb71a53190a43 (diff) | |
| download | rust-816d90ae5f87e9819f5693fa38e56ed7d76697ca.tar.gz rust-816d90ae5f87e9819f5693fa38e56ed7d76697ca.zip | |
Fix Windows 7
Diffstat (limited to 'library/std/src')
| -rw-r--r-- | library/std/src/sys/pal/windows/c.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/library/std/src/sys/pal/windows/c.rs b/library/std/src/sys/pal/windows/c.rs index 9982293fbb8..e171a78d3ac 100644 --- a/library/std/src/sys/pal/windows/c.rs +++ b/library/std/src/sys/pal/windows/c.rs @@ -390,18 +390,18 @@ compat_fn_with_fallback! { #[cfg(target_vendor = "win7")] pub fn NtReleaseKeyedEvent( EventHandle: HANDLE, - Key: *mut c_void, + Key: *const c_void, Alertable: BOOLEAN, - Timeout: *mut c_longlong + Timeout: *mut i64 ) -> NTSTATUS { panic!("keyed events not available") } #[cfg(target_vendor = "win7")] pub fn NtWaitForKeyedEvent( EventHandle: HANDLE, - Key: *mut c_void, + Key: *const c_void, Alertable: BOOLEAN, - Timeout: *mut c_longlong + Timeout: *mut i64 ) -> NTSTATUS { panic!("keyed events not available") } |
