Skip to content

Commit 4d72a19

Browse files
committed
Auto merge of #2782 - asomers:kevent-data, r=Amanieu
Fix definition of kevent.data on 32-bit FreeBSD 12+ FreeBSD 12 changed this field from intptr_t to __int64_t
2 parents bdf2f4c + 3608a81 commit 4d72a19

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/unix/bsd/freebsdlike/freebsd/freebsd12/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ s! {
2222
pub filter: ::c_short,
2323
pub flags: ::c_ushort,
2424
pub fflags: ::c_uint,
25-
pub data: ::intptr_t,
25+
pub data: i64,
2626
pub udata: *mut ::c_void,
2727
pub ext: [u64; 4],
2828
}

src/unix/bsd/freebsdlike/freebsd/freebsd13/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ s! {
2525
pub filter: ::c_short,
2626
pub flags: ::c_ushort,
2727
pub fflags: ::c_uint,
28-
pub data: ::intptr_t,
28+
pub data: i64,
2929
pub udata: *mut ::c_void,
3030
pub ext: [u64; 4],
3131
}

src/unix/bsd/freebsdlike/freebsd/freebsd14/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ s! {
2525
pub filter: ::c_short,
2626
pub flags: ::c_ushort,
2727
pub fflags: ::c_uint,
28-
pub data: ::intptr_t,
28+
pub data: i64,
2929
pub udata: *mut ::c_void,
3030
pub ext: [u64; 4],
3131
}

0 commit comments

Comments
 (0)