Skip to content

Commit 4f717ed

Browse files
committed
fix MSRV in windows specific tests
1 parent 299c2e5 commit 4f717ed

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/socket.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -446,9 +446,9 @@ where
446446
socket.as_raw_socket() as _,
447447
WinSock::SIO_GET_MULTIPLE_EXTENSION_FUNCTION_POINTER,
448448
(&guid as *const GUID) as *const _,
449-
size_of_val(&guid) as u32,
449+
mem::size_of_val(&guid) as u32,
450450
table.as_mut_ptr() as *mut _,
451-
size_of_val(&table) as u32,
451+
mem::size_of_val(&table) as u32,
452452
(&mut bytes as *mut i32) as *mut _,
453453
ptr::null_mut(),
454454
None,

0 commit comments

Comments
 (0)