Explorar o código

Hoping to find an fd larger than ((unsigned)-1) is probably a lost cause.

svn:r549
Nick Mathewson %!s(int64=20) %!d(string=hai) anos
pai
achega
74e6c03cab
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/common/fakepoll.c

+ 1 - 1
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;