Use repr(align(x)) for redox in6_addr

This commit is contained in:
Linus Färnstrand 2018-08-08 09:57:40 +02:00
parent e96b760757
commit c0041f4a17

View file

@ -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)]