--- libev/ev_poll.c 2007/11/06 00:52:33 1.8 +++ libev/ev_poll.c 2007/11/06 17:09:45 1.9 @@ -46,14 +46,14 @@ if (oev == nev) return; - array_needsize (pollidxs, pollidxmax, fd + 1, pollidx_init); + array_needsize (int, pollidxs, pollidxmax, fd + 1, pollidx_init); idx = pollidxs [fd]; if (idx < 0) /* need to allocate a new pollfd */ { idx = pollcnt++; - array_needsize (polls, pollmax, pollcnt, ); + array_needsize (struct pollfd, polls, pollmax, pollcnt, ); polls [idx].fd = fd; } @@ -118,3 +118,4 @@ ev_free (pollidxs); ev_free (polls); } +