Use repr(align(x)) for redox in6_addr
This commit is contained in:
parent
e96b760757
commit
c0041f4a17
@ -24,10 +24,10 @@ pub struct in_addr {
|
||||
}
|
||||
|
||||
#[derive(Copy, Clone)]
|
||||
#[repr(align(4))]
|
||||
#[repr(C)]
|
||||
pub struct in6_addr {
|
||||
pub s6_addr: [u8; 16],
|
||||
__align: [u32; 0],
|
||||
}
|
||||
|
||||
#[derive(Copy, Clone)]
|
||||
|
Loading…
x
Reference in New Issue
Block a user