X-Git-Url: https://git.llucax.com/software/libev.git/blobdiff_plain/7e305734bf37cb00b5be4f32a80bccdf83c768b8..a1cef53ac1dbe842610d1a3b6871dd18cb1553be:/ev_poll.c?ds=sidebyside diff --git a/ev_poll.c b/ev_poll.c index 726a45b..626aa27 100644 --- a/ev_poll.c +++ b/ev_poll.c @@ -53,7 +53,7 @@ poll_modify (EV_P_ int fd, int oev, int nev) if (idx < 0) /* need to allocate a new pollfd */ { pollidxs [fd] = idx = pollcnt++; - array_needsize (struct pollfd, polls, pollmax, pollcnt, (void)); + array_needsize (struct pollfd, polls, pollmax, pollcnt, EMPTY2); polls [idx].fd = fd; }