about summary refs log tree commit diff
path: root/library/std/src/sys/windows/net.rs
diff options
context:
space:
mode:
Diffstat (limited to 'library/std/src/sys/windows/net.rs')
-rw-r--r--library/std/src/sys/windows/net.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/std/src/sys/windows/net.rs b/library/std/src/sys/windows/net.rs
index 8158713fa84..2404bbe2b89 100644
--- a/library/std/src/sys/windows/net.rs
+++ b/library/std/src/sys/windows/net.rs
@@ -263,7 +263,7 @@ impl Socket {
                 &mut nread,
                 &mut flags,
                 ptr::null_mut(),
-                ptr::null_mut(),
+                None,
             )
         };
 
@@ -347,7 +347,7 @@ impl Socket {
                 &mut nwritten,
                 0,
                 ptr::null_mut(),
-                ptr::null_mut(),
+                None,
             )
         };
         cvt(result).map(|_| nwritten as usize)