Skip to content
Snippets Groups Projects
Commit 95a10fcc authored by Marek Vavrusa's avatar Marek Vavrusa
Browse files

kqueue fixed alloc type.

refs #1291
parent 0685ae12
No related branches found
No related tags found
No related merge requests found
......@@ -133,9 +133,9 @@ int fdset_kqueue_remove(fdset_t *fdset, int fd)
--fdset->nfds;
/* Trim excessive memory if possible (retval is not interesting). */
mreserve((char **)&fdset->events, sizeof(struct epoll_event),
mreserve((char **)&fdset->events, sizeof(struct kevent),
fdset->nfds, OS_FDS_CHUNKSIZE, &fdset->reserved);
mreserve((char **)&fdset->revents, sizeof(struct epoll_event),
mreserve((char **)&fdset->revents, sizeof(struct kevent),
fdset->nfds, OS_FDS_CHUNKSIZE, &fdset->rreserved);
return 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment