Skip to content

Commit 716f216

Browse files
author
Mathias Svensson
committed
Fix the inner type of EpollFlags
1 parent 7435cb6 commit 716f216

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sys/epoll.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ use ::Error;
77

88
bitflags!(
99
#[repr(C)]
10-
pub flags EpollFlags: u32 {
10+
pub flags EpollFlags: libc::c_int {
1111
const EPOLLIN = libc::EPOLLIN as u32,
1212
const EPOLLPRI = libc::EPOLLPRI as u32,
1313
const EPOLLOUT = libc::EPOLLOUT as u32,

0 commit comments

Comments
 (0)