--- libev/ev.c 2007/11/04 23:29:48 1.65 +++ libev/ev.c 2007/11/04 23:30:53 1.66 @@ -810,8 +810,7 @@ if (p->w) { p->w->pending = 0; - - ((void (*)(EV_P_ W, int))p->w->cb) (EV_A_ p->w, p->events); + p->w->cb (EV_A_ p->w, p->events); } } }