Skip to content

Commit 0f9fcbd

Browse files
committed
Fix use of deprecated libc type, needed in order to run the tests successfully. This type was deprecated in libc 0.2.55.
1 parent dd0a990 commit 0f9fcbd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sys/event.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ type type_of_data = intptr_t;
2828
#[cfg(any(target_os = "netbsd"))]
2929
type type_of_udata = intptr_t;
3030
#[cfg(any(target_os = "netbsd", target_os = "openbsd"))]
31-
type type_of_data = libc::int64_t;
31+
type type_of_data = i64;
3232

3333
#[cfg(target_os = "netbsd")]
3434
type type_of_event_filter = u32;

0 commit comments

Comments
 (0)