diff options
Diffstat (limited to 'poll')
-rw-r--r-- | poll/unix/kqueue.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/poll/unix/kqueue.c b/poll/unix/kqueue.c index aa4251f1b..7fbfbb882 100644 --- a/poll/unix/kqueue.c +++ b/poll/unix/kqueue.c @@ -171,7 +171,7 @@ static apr_status_t impl_pollset_add(apr_pollset_t *pollset, if (descriptor->reqevents & APR_POLLIN) { if (pollset->flags & APR_POLLSET_NOCOPY) { EV_SET(&pollset->p->kevent, fd, EVFILT_READ, EV_ADD, 0, 0, - descriptor); + (void *)descriptor); } else { EV_SET(&pollset->p->kevent, fd, EVFILT_READ, EV_ADD, 0, 0, @@ -187,7 +187,7 @@ static apr_status_t impl_pollset_add(apr_pollset_t *pollset, if (descriptor->reqevents & APR_POLLOUT && rv == APR_SUCCESS) { if (pollset->flags & APR_POLLSET_NOCOPY) { EV_SET(&pollset->p->kevent, fd, EVFILT_WRITE, EV_ADD, 0, 0, - descriptor); + (void *)descriptor); } else { EV_SET(&pollset->p->kevent, fd, EVFILT_WRITE, EV_ADD, 0, 0, |