diff options
Diffstat (limited to 'library/std/src/sys/pal/windows/net.rs')
| -rw-r--r-- | library/std/src/sys/pal/windows/net.rs | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/sys/pal/windows/net.rs b/library/std/src/sys/pal/windows/net.rs index 61a4504cf65..fd62d1f407c 100644 --- a/library/std/src/sys/pal/windows/net.rs +++ b/library/std/src/sys/pal/windows/net.rs @@ -390,7 +390,7 @@ impl Socket { buf.as_mut_ptr() as *mut _, length, flags, - core::ptr::addr_of_mut!(storage) as *mut _, + (&raw mut storage) as *mut _, &mut addrlen, ) };  | 
