Skip to content

Commit e77c319

Browse files
committed
Fix AF_SYSTEM and AF_SYS_CONTROL
1 parent c12fc0d commit e77c319

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/unix/bsd/apple/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3564,11 +3564,11 @@ pub const AF_E164: ::c_int = AF_ISDN;
35643564
pub const pseudo_AF_KEY: ::c_int = 29;
35653565
pub const AF_INET6: ::c_int = 30;
35663566
pub const AF_NATM: ::c_int = 31;
3567-
pub const AF_SYSTEM: ::c_int = 32;
3567+
pub const AF_SYSTEM: ::c_uchar = 32;
35683568
pub const AF_NETBIOS: ::c_int = 33;
35693569
pub const AF_PPP: ::c_int = 34;
35703570
pub const pseudo_AF_HDRCMPLT: ::c_int = 35;
3571-
pub const AF_SYS_CONTROL: ::c_int = 2;
3571+
pub const AF_SYS_CONTROL: ::c_ushort = 2;
35723572

35733573
pub const SYSPROTO_EVENT: ::c_int = 1;
35743574
pub const SYSPROTO_CONTROL: ::c_int = 2;

0 commit comments

Comments
 (0)