diff --git a/src/new/apple/xnu/net/bpf.rs b/src/new/apple/xnu/net/bpf.rs index dc0aae84de28f..d160d9db147ba 100644 --- a/src/new/apple/xnu/net/bpf.rs +++ b/src/new/apple/xnu/net/bpf.rs @@ -47,7 +47,7 @@ pub const DLT_ATM_RFC1483: c_uint = 11; // LLC/SNAP encapsulated atm pub const DLT_RAW: c_uint = 12; // raw IP pub const DLT_LOOP: c_uint = 108; -pub const BPF_ALIGNMENT: c_int = size_of::() as c_int; +pub const BPF_ALIGNMENT: size_t = size_of::(); pub const BIOCGRSIG: c_ulong = _IOR::('B' as c_ulong, 114); pub const BIOCSRSIG: c_ulong = _IOW::('B' as c_ulong, 115);