Skip to content

Commit 5a89a1f

Browse files
committed
Fix the build on macos
1 parent 2e14d95 commit 5a89a1f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/unix/bsd/apple/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2418,7 +2418,7 @@ f! {
24182418
}
24192419

24202420
pub fn CMSG_LEN(length: ::c_uint) -> ::c_uint {
2421-
__DARWIN_ALIGN32(mem::size_of::<::cmsghdr>()) + length as usize
2421+
(__DARWIN_ALIGN32(mem::size_of::<::cmsghdr>()) + length as usize)
24222422
as ::c_uint
24232423
}
24242424

0 commit comments

Comments
 (0)