Skip to content

Commit

Permalink
Fix the inner type of EpollFlags
Browse files Browse the repository at this point in the history
  • Loading branch information
Mathias Svensson committed Feb 22, 2017
1 parent 7435cb6 commit 716f216
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sys/epoll.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ use ::Error;

bitflags!(
#[repr(C)]
pub flags EpollFlags: u32 {
pub flags EpollFlags: libc::c_int {
const EPOLLIN = libc::EPOLLIN as u32,
const EPOLLPRI = libc::EPOLLPRI as u32,
const EPOLLOUT = libc::EPOLLOUT as u32,
Expand Down

0 comments on commit 716f216

Please sign in to comment.