Browse Source

squashed warning

Sergey Lyubka 12 năm trước cách đây
mục cha
commit
a9d51c0e87
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      mongoose.c

+ 2 - 1
mongoose.c

@@ -1231,7 +1231,8 @@ static struct dirent *readdir(DIR *dir) {
 static int poll(struct pollfd *pfd, int n, int milliseconds) {
   struct timeval tv;
   fd_set set;
-  int i, result, maxfd = 0;
+  int i, result;
+  SOCKET maxfd = 0;
 
   tv.tv_sec = milliseconds / 1000;
   tv.tv_usec = (milliseconds % 1000) * 1000;