aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/common/fakepoll.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/common/fakepoll.c b/src/common/fakepoll.c
index 8b9242e05..5b5d7daaf 100644
--- a/src/common/fakepoll.c
+++ b/src/common/fakepoll.c
@@ -32,7 +32,8 @@
int
tor_poll(struct pollfd *ufds, unsigned int nfds, int timeout)
{
- unsigned int idx, maxfd, fd;
+ unsigned int idx;
+ int maxfd, fd;
int r;
#ifdef MS_WINDOWS
int any_fds_set = 0;