--- EV/EV.xs 2007/11/06 16:09:37 1.56 +++ EV/EV.xs 2007/11/06 17:20:42 1.57 @@ -112,7 +112,7 @@ static void e_destroy (void *w_) { - struct ev_watcher *w = w_; + struct ev_watcher *w = (struct ev_watcher *)w_; SvREFCNT_dec (w->fh ); w->fh = 0; SvREFCNT_dec (w->cb_sv); w->cb_sv = 0;