diff options
author | root <root> | 2007-11-12 00:31:08 +0000 |
---|---|---|
committer | root <root> | 2007-11-12 00:31:08 +0000 |
commit | 2dff0867c6069c41ede598cd78bb2d5223fde025 (patch) | |
tree | efb0a610e3e45d56e44595aedb45bd0769097d9b /event.c | |
parent | 7b056e46cb219eb2438c0b9ea152875be997b6c0 (diff) |
rewrite seletc backend, port again to msvc
Diffstat (limited to 'event.c')
-rw-r--r-- | event.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -141,7 +141,7 @@ x_cb (struct event *ev, int revents) revents &= EV_READ | EV_WRITE | EV_TIMEOUT | EV_SIGNAL; ev->ev_res = revents; - ev->ev_callback (ev->ev_fd, revents, ev->ev_arg); + ev->ev_callback (ev->ev_fd, (short)revents, ev->ev_arg); } static void @@ -358,7 +358,7 @@ x_once_cb (int revents, void *arg) { struct x_once *once = (struct x_once *)arg; - once->cb (once->fd, revents, once->arg); + once->cb (once->fd, (short)revents, once->arg); free (once); } |