Skip to content

Commit

Permalink
Fix use of deprecated libc type, needed in order to run the tests suc…
Browse files Browse the repository at this point in the history
…cessfully. This type was deprecated in libc 0.2.55.
  • Loading branch information
nickpelone committed May 26, 2020
1 parent dd0a990 commit 0f9fcbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sys/event.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ type type_of_data = intptr_t;
#[cfg(any(target_os = "netbsd"))]
type type_of_udata = intptr_t;
#[cfg(any(target_os = "netbsd", target_os = "openbsd"))]
type type_of_data = libc::int64_t;
type type_of_data = i64;

#[cfg(target_os = "netbsd")]
type type_of_event_filter = u32;
Expand Down

0 comments on commit 0f9fcbd

Please sign in to comment.