1 | $NetBSD$
|
---|
2 |
|
---|
3 | --- boost/asio/detail/impl/kqueue_reactor.ipp.orig 2011-11-06 17:01:14.000000000 +0000
|
---|
4 | +++ boost/asio/detail/impl/kqueue_reactor.ipp
|
---|
5 | @@ -289,9 +289,9 @@ void kqueue_reactor::deregister_descript
|
---|
6 | {
|
---|
7 | struct kevent events[2];
|
---|
8 | BOOST_ASIO_KQUEUE_EV_SET(&events[0], descriptor,
|
---|
9 | - EVFILT_READ, EV_DELETE, 0, 0, 0);
|
---|
10 | + EVFILT_READ, EV_DELETE, 0, 0, (void*)0);
|
---|
11 | BOOST_ASIO_KQUEUE_EV_SET(&events[1], descriptor,
|
---|
12 | - EVFILT_WRITE, EV_DELETE, 0, 0, 0);
|
---|
13 | + EVFILT_WRITE, EV_DELETE, 0, 0, (void*)0);
|
---|
14 | ::kevent(kqueue_fd_, events, 2, 0, 0, 0);
|
---|
15 | }
|
---|
16 |
|
---|
17 | @@ -333,9 +333,9 @@ void kqueue_reactor::deregister_internal
|
---|
18 | {
|
---|
19 | struct kevent events[2];
|
---|
20 | BOOST_ASIO_KQUEUE_EV_SET(&events[0], descriptor,
|
---|
21 | - EVFILT_READ, EV_DELETE, 0, 0, 0);
|
---|
22 | + EVFILT_READ, EV_DELETE, 0, 0, (void*)0);
|
---|
23 | BOOST_ASIO_KQUEUE_EV_SET(&events[1], descriptor,
|
---|
24 | - EVFILT_WRITE, EV_DELETE, 0, 0, 0);
|
---|
25 | + EVFILT_WRITE, EV_DELETE, 0, 0, (void*)0);
|
---|
26 | ::kevent(kqueue_fd_, events, 2, 0, 0, 0);
|
---|
27 |
|
---|
28 | op_queue<operation> ops;
|
---|