about summary refs log tree commit diff
path: root/compiler/rustc_data_structures/src
diff options
context:
space:
mode:
authorklensy <klensy@users.noreply.github.com>2025-01-14 16:57:04 +0300
committerklensy <klensy@users.noreply.github.com>2025-01-21 16:48:44 +0300
commit84ce2e129a5b6a5af2f2ea27af5ad907a1aac419 (patch)
treebd876363dcfe4b514eec8090e01edd8c3d8f1bdc /compiler/rustc_data_structures/src
parentebbe63891f1fae21734cb97f2f863b08b1d44bf8 (diff)
downloadrust-84ce2e129a5b6a5af2f2ea27af5ad907a1aac419.tar.gz
rust-84ce2e129a5b6a5af2f2ea27af5ad907a1aac419.zip
bumpt compiler and tools to windows 0.59
Diffstat (limited to 'compiler/rustc_data_structures/src')
-rw-r--r--compiler/rustc_data_structures/src/flock/windows.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_data_structures/src/flock/windows.rs b/compiler/rustc_data_structures/src/flock/windows.rs
index 9739e501272..e761faee67b 100644
--- a/compiler/rustc_data_structures/src/flock/windows.rs
+++ b/compiler/rustc_data_structures/src/flock/windows.rs
@@ -60,9 +60,9 @@ impl Lock {
 
         unsafe {
             LockFileEx(
-                HANDLE(file.as_raw_handle() as isize),
+                HANDLE(file.as_raw_handle()),
                 flags,
-                0,
+                None,
                 u32::MAX,
                 u32::MAX,
                 &mut overlapped,