aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/common/fakepoll.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/fakepoll.c b/src/common/fakepoll.c
index d1936f8e4..bfe707d39 100644
--- a/src/common/fakepoll.c
+++ b/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;