31 lines
1.1 KiB
Plaintext
31 lines
1.1 KiB
Plaintext
$NetBSD: patch-ai,v 1.5 2012/07/02 07:02:26 adam Exp $
|
|
|
|
https://svn.boost.org/trac/boost/ticket/6098
|
|
|
|
--- boost/asio/detail/impl/kqueue_reactor.ipp.orig 2011-11-06 17:01:14.000000000 +0000
|
|
+++ boost/asio/detail/impl/kqueue_reactor.ipp
|
|
@@ -290,9 +290,9 @@ void kqueue_reactor::deregister_descript
|
|
{
|
|
struct kevent events[2];
|
|
BOOST_ASIO_KQUEUE_EV_SET(&events[0], descriptor,
|
|
- EVFILT_READ, EV_DELETE, 0, 0, 0);
|
|
+ EVFILT_READ, EV_DELETE, 0, 0, (void*)0);
|
|
BOOST_ASIO_KQUEUE_EV_SET(&events[1], descriptor,
|
|
- EVFILT_WRITE, EV_DELETE, 0, 0, 0);
|
|
+ EVFILT_WRITE, EV_DELETE, 0, 0, (void*)0);
|
|
::kevent(kqueue_fd_, events, 2, 0, 0, 0);
|
|
}
|
|
|
|
@@ -331,9 +331,9 @@ void kqueue_reactor::deregister_internal
|
|
{
|
|
struct kevent events[2];
|
|
BOOST_ASIO_KQUEUE_EV_SET(&events[0], descriptor,
|
|
- EVFILT_READ, EV_DELETE, 0, 0, 0);
|
|
+ EVFILT_READ, EV_DELETE, 0, 0, (void*)0);
|
|
BOOST_ASIO_KQUEUE_EV_SET(&events[1], descriptor,
|
|
- EVFILT_WRITE, EV_DELETE, 0, 0, 0);
|
|
+ EVFILT_WRITE, EV_DELETE, 0, 0, (void*)0);
|
|
::kevent(kqueue_fd_, events, 2, 0, 0, 0);
|
|
|
|
op_queue<operation> ops;
|