From 74e6c03cab0575b29831e468b98f2349dc8a8816 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Tue, 7 Oct 2003 20:45:16 +0000 Subject: 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(-) (limited to 'src/common') 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; -- cgit v1.2.3