From 74e6c03cab0575b29831e468b98f2349dc8a8816 Mon Sep 17 00:00:00 2001
From: Nick Mathewson <nickm@torproject.org>
Date: Tue, 7 Oct 2003 20:45:16 +0000
Subject: [PATCH] Hoping to find an fd larger than ((unsigned)-1) is probably a
 lost cause.

svn:r549
---
 src/common/fakepoll.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/common/fakepoll.c b/src/common/fakepoll.c
index d1936f8e44..bfe707d393 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;
-- 
GitLab