Commit 17d7e6ed authored by Martin Sustrik's avatar Martin Sustrik

Merge branch 'maint'

* maint:
  Remove unnecessary cast in kevent_delete

Conflicts:
	src/kqueue.cpp
Signed-off-by: 's avatarMartin Sustrik <sustrik@250bpm.com>
parents 28db150a 289b1f5c
......@@ -70,7 +70,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