diff options
-rw-r--r-- | queue_epoll.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/queue_epoll.c b/queue_epoll.c index a680180..e2e8222 100644 --- a/queue_epoll.c +++ b/queue_epoll.c @@ -180,7 +180,7 @@ idleq_mod(struct mog_queue *q, struct mog_fd *mfd, enum mog_qev ev, int op) struct epoll_event event; event.data.ptr = mfd; - event.events = (int)ev; + event.events = (uint32_t)ev; mog_fd_check_in(mfd); if (epoll_ctl(q->queue_fd, op, mfd->fd, &event) != 0) { |