File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -245,7 +245,7 @@ const struct PollResult* blockingPoll(
245
245
& (pollState -> pollResult .readyFDInfoArray [i ]);
246
246
const struct kevent * readyKEvent =
247
247
& (internalPollState -> keventArray [i ]);
248
- readyFDInfo -> data = readyKEvent -> udata ;
248
+ readyFDInfo -> data = ( void * ) readyKEvent -> udata ;
249
249
readyFDInfo -> readyForRead = (readyKEvent -> filter == EVFILT_READ );
250
250
readyFDInfo -> readyForWrite = (readyKEvent -> filter == EVFILT_WRITE );
251
251
readyFDInfo -> readyForError = false;
Original file line number Diff line number Diff line change 16
16
17
17
#if (!defined(PROXY_DISABLE_EPOLL )) && defined(__linux__ )
18
18
#include "epoll_pollutil.c"
19
- #elif (!defined(PROXY_DISABLE_KQUEUE )) && (defined(__FreeBSD__ ) || defined(__OpenBSD__ ) || defined(__DragonFly__ ) || defined(__APPLE__ ))
19
+ #elif (!defined(PROXY_DISABLE_KQUEUE )) && (defined(__FreeBSD__ ) || defined(__OpenBSD__ ) || defined(__DragonFly__ ) || defined(__NetBSD__ ) || defined( __APPLE__ ))
20
20
#include "kqueue_pollutil.c"
21
21
#else
22
22
#include "poll_pollutil.c"
You can’t perform that action at this time.
0 commit comments