diff --git a/lib/multi.c b/lib/multi.c index 7a75eb3dcf651a2aad01f954cf6d27ec1ab4fc0c..ee7e388fa08de98f72e1416a6f8c3bb30a0b31df 100644 --- a/lib/multi.c +++ b/lib/multi.c @@ -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; } }