Skip to content

Commit cba4142

Browse files
committed
Auto merge of rust-lang#564 - vojtechkral:patch-1, r=alexcrichton
Make networking on Solaris/Illumos great again
2 parents c6a68f1 + f4fea9b commit cba4142

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/unix/solaris/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ pub type suseconds_t = ::c_long;
2828
pub type off_t = i64;
2929
pub type useconds_t = ::c_uint;
3030
pub type socklen_t = u32;
31-
pub type sa_family_t = u8;
31+
pub type sa_family_t = u16;
3232
pub type pthread_t = ::c_uint;
3333
pub type pthread_key_t = ::c_uint;
3434
pub type blksize_t = u32;

0 commit comments

Comments
 (0)