We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 94448a0 commit 1ccb76aCopy full SHA for 1ccb76a
src/imp/linux_raw/net/read_sockaddr.rs
@@ -28,7 +28,7 @@ unsafe fn read_ss_family(storage: *const c::sockaddr) -> u16 {
28
__bindgen_anon_1:
29
linux_raw_sys::general::__kernel_sockaddr_storage__bindgen_ty_1__bindgen_ty_1 {
30
ss_family: 0_u16,
31
- __data: [0_u8; 126],
+ __data: [0; 126_usize],
32
},
33
34
0 commit comments