summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/kqueue.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kqueue.cpp b/src/kqueue.cpp
index b893a85..9b4dcce 100644
--- a/src/kqueue.cpp
+++ b/src/kqueue.cpp
@@ -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);
}