--- cvsroot/EV/EV.xs 2007/11/01 15:46:43 1.36 +++ cvsroot/EV/EV.xs 2007/11/01 17:17:32 1.37 @@ -489,7 +489,7 @@ OUTPUT: RETVAL -short events (struct ev_io *w, short new_events = EV_UNDEF) +int events (struct ev_io *w, int new_events = EV_UNDEF) CODE: { RETVAL = w->events;