summaryrefslogtreecommitdiff
path: root/event.c
diff options
context:
space:
mode:
authorroot <root>2007-11-04 23:14:11 +0000
committerroot <root>2007-11-04 23:14:11 +0000
commit22b2a449105d7604f715c1afafeb4fe5ac473f1b (patch)
treeb18e0643b0b285e16de1ac4641e5aecdc59c1bec /event.c
parentfbe9562600fa8735c078401aa604b49a5426b0e2 (diff)
- have to re-check potentially closed fds regularly for epoll. this hurts
badly :( - still more than twice as fats as libevent. - many minor fixes
Diffstat (limited to 'event.c')
-rw-r--r--event.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/event.c b/event.c
index b34774c..cf7739c 100644
--- a/event.c
+++ b/event.c
@@ -91,7 +91,7 @@ void *event_init (void)
#else
assert (("multiple event bases not supported when not compiled with EV_MULTIPLICITY", !x_cur));
- x_cur = (struct event_base *)ev_default_loop (EVMETHOD_AUTO);
+ x_cur = (struct event_base *)(long)ev_default_loop (EVMETHOD_AUTO);
#endif
return x_cur;