Commit 289b1f5c authored by Martin Lucina's avatar Martin Lucina Committed by Martin Sustrik

Remove unnecessary cast in kevent_delete

Fixes the build on NetBSD where the compiler complains about casting NULL
to (int).
Signed-off-by: 's avatarMartin Lucina <mato@kotelna.sk>
parent 83d9af99
......@@ -74,7 +74,7 @@ void zmq::kqueue_t::kevent_delete (fd_t fd_, short filter_)
{
struct kevent ev;
EV_SET (&ev, fd_, filter_, EV_DELETE, 0, 0, (kevent_udata_t)NULL);
EV_SET (&ev, fd_, filter_, EV_DELETE, 0, 0, 0);
int rc = kevent (kqueue_fd, &ev, 1, NULL, 0, NULL);
errno_assert (rc != -1);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment