0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-08-21 09:04:44 +02:00

kqueue: Remove unnecessary cast.

This commit is contained in:
Jilles Tjoelker 2015-05-22 21:42:10 +02:00
parent 2125182293
commit df3de4e913

View file

@ -103,7 +103,7 @@ kq_update_events(rb_fde_t *F, short filter, PF * handler)
kep_flags = EV_DELETE; kep_flags = EV_DELETE;
} }
EV_SET(kep, (uintptr_t)F->fd, filter, kep_flags, 0, 0, (void *)F); EV_SET(kep, F->fd, filter, kep_flags, 0, 0, F);
if(++kqoff == kqmax) if(++kqoff == kqmax)
{ {