diff options
author | root <root> | 2007-11-06 17:09:45 +0000 |
---|---|---|
committer | root <root> | 2007-11-06 17:09:45 +0000 |
commit | 85e9d898522a460b8dcf57f1781f6acc3d2f3ee5 (patch) | |
tree | dbc102287ed4c033e979290b6bf76b756871f920 /ev_poll.c | |
parent | 4b05fe94e44407cd62092863e204337c521e7d8a (diff) |
*** empty log message ***
Diffstat (limited to 'ev_poll.c')
-rw-r--r-- | ev_poll.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -46,14 +46,14 @@ poll_modify (EV_P_ int fd, int oev, int nev) 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 @@ poll_destroy (EV_P) ev_free (pollidxs); ev_free (polls); } + |