diff --git a/trunk/src/common/fakepoll.c b/trunk/src/common/fakepoll.c index d1936f8e44..bfe707d393 100644 --- a/trunk/src/common/fakepoll.c +++ b/trunk/src/common/fakepoll.c @@ -29,7 +29,7 @@ int poll(struct pollfd *ufds, unsigned int nfds, int timeout) { - unsigned int idx, maxfd, fd; + int idx, maxfd, fd; int r; #ifdef MS_WINDOWS int any_fds_set = 0;