aboutsummaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2003-10-07 20:45:16 +0000
committerNick Mathewson <nickm@torproject.org>2003-10-07 20:45:16 +0000
commit74e6c03cab0575b29831e468b98f2349dc8a8816 (patch)
tree9a7a594fb2ea85eb5c15d38c949314f1a81484d8 /src/common
parentf9f091eb0eb81b0a1d9a104da7802cbd8f3607a3 (diff)
downloadtor-74e6c03cab0575b29831e468b98f2349dc8a8816.tar
tor-74e6c03cab0575b29831e468b98f2349dc8a8816.tar.gz
Hoping to find an fd larger than ((unsigned)-1) is probably a lost cause.
svn:r549
Diffstat (limited to 'src/common')
-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;