diff options
author | Martin Lucina <mato@kotelna.sk> | 2010-12-01 10:25:31 +0100 |
---|---|---|
committer | Martin Sustrik <sustrik@250bpm.com> | 2010-12-01 10:25:31 +0100 |
commit | 289b1f5ced492a2dc62edaba0016abde21093692 (patch) | |
tree | a8c1e85087c0da4e3db929a14ddfd02bee2ce024 /src | |
parent | 83d9af99516fc620ffdfa6cd5a226ab70673cb5d (diff) |
Remove unnecessary cast in kevent_delete
Fixes the build on NetBSD where the compiler complains about casting NULL
to (int).
Signed-off-by: Martin Lucina <mato@kotelna.sk>
Diffstat (limited to 'src')
-rw-r--r-- | src/kqueue.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kqueue.cpp b/src/kqueue.cpp index e1fe2fa..86377e7 100644 --- a/src/kqueue.cpp +++ b/src/kqueue.cpp @@ -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); } |