소스 검색

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

svn:r549
Nick Mathewson 20 년 전
부모
커밋
74e6c03cab
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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;