prevent signed/unsigned warnings
authorDaniel Stenberg <daniel@haxx.se>
Tue, 25 Apr 2006 05:32:05 +0000 (05:32 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 25 Apr 2006 05:32:05 +0000 (05:32 +0000)
lib/multi.c

index 7a75eb3..ee7e388 100644 (file)
@@ -496,8 +496,8 @@ CURLMcode curl_multi_fdset(CURLM *multi_handle,
         /* this socket is unused, break out of loop */
         break;
       else {
-        if(s > this_max_fd)
-          this_max_fd = s;
+        if(s > (curl_socket_t)this_max_fd)
+          this_max_fd = (int)s;
       }
     }