Skip to content

Commit

Permalink
Auto merge of #2782 - asomers:kevent-data, r=Amanieu
Browse files Browse the repository at this point in the history
Fix definition of kevent.data on 32-bit FreeBSD 12+

FreeBSD 12 changed this field from intptr_t to __int64_t
  • Loading branch information
bors committed May 9, 2022
2 parents bdf2f4c + 3608a81 commit 4d72a19
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/unix/bsd/freebsdlike/freebsd/freebsd12/mod.rs
Expand Up @@ -22,7 +22,7 @@ s! {
pub filter: ::c_short,
pub flags: ::c_ushort,
pub fflags: ::c_uint,
pub data: ::intptr_t,
pub data: i64,
pub udata: *mut ::c_void,
pub ext: [u64; 4],
}
Expand Down
2 changes: 1 addition & 1 deletion src/unix/bsd/freebsdlike/freebsd/freebsd13/mod.rs
Expand Up @@ -25,7 +25,7 @@ s! {
pub filter: ::c_short,
pub flags: ::c_ushort,
pub fflags: ::c_uint,
pub data: ::intptr_t,
pub data: i64,
pub udata: *mut ::c_void,
pub ext: [u64; 4],
}
Expand Down
2 changes: 1 addition & 1 deletion src/unix/bsd/freebsdlike/freebsd/freebsd14/mod.rs
Expand Up @@ -25,7 +25,7 @@ s! {
pub filter: ::c_short,
pub flags: ::c_ushort,
pub fflags: ::c_uint,
pub data: ::intptr_t,
pub data: i64,
pub udata: *mut ::c_void,
pub ext: [u64; 4],
}
Expand Down

0 comments on commit 4d72a19

Please sign in to comment.