summaryrefslogtreecommitdiff
path: root/src/common/fakepoll.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/fakepoll.c')
-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 4465b5101e..8b9242e050 100644
--- a/src/common/fakepoll.c
+++ b/src/common/fakepoll.c
@@ -32,7 +32,7 @@
int
tor_poll(struct pollfd *ufds, unsigned int nfds, int timeout)
{
- int idx, maxfd, fd;
+ unsigned int idx, maxfd, fd;
int r;
#ifdef MS_WINDOWS
int any_fds_set = 0;