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:
parent
2125182293
commit
df3de4e913
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue