Skip to content

Commit

Permalink
Auto merge of #2610 - rtzoeller:dfly_cmsg_align, r=Amanieu
Browse files Browse the repository at this point in the history
  • Loading branch information
bors committed Jan 4, 2022
2 parents 3c1eef0 + 67464ff commit f51fd85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/unix/bsd/freebsdlike/dragonfly/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1348,7 +1348,7 @@ pub const MINCORE_SUPER: ::c_int = 0x20;

const_fn! {
{const} fn _CMSG_ALIGN(n: usize) -> usize {
(n + 3) & !3
(n + ::mem::size_of::<::c_long>()) & !::mem::size_of::<::c_long>()
}
}

Expand Down

0 comments on commit f51fd85

Please sign in to comment.