Skip to content

Commit

Permalink
Use repr(align(x)) for redox in6_addr
Browse files Browse the repository at this point in the history
  • Loading branch information
faern committed Aug 8, 2018
1 parent e96b760 commit c0041f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libstd/sys/redox/net/netc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)]
Expand Down

0 comments on commit c0041f4

Please sign in to comment.