X-Git-Url: https://git.llucax.com/software/libev.git/blobdiff_plain/e3cb88fa576a8f24145df1c6962db20c8013700f..34a787b55768ddae6645862dc60434188e1fad8d:/ev_epoll.c diff --git a/ev_epoll.c b/ev_epoll.c index d38672f..a7918af 100644 --- a/ev_epoll.c +++ b/ev_epoll.c @@ -75,7 +75,7 @@ epoll_poll (ev_tstamp timeout) for (i = 0; i < eventcnt; ++i) fd_event ( - events [i].data.fd, + events [i].data.u64, (events [i].events & (EPOLLOUT | EPOLLERR | EPOLLHUP) ? EV_WRITE : 0) | (events [i].events & (EPOLLIN | EPOLLERR | EPOLLHUP) ? EV_READ : 0) );