mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
prevent signed/unsigned warnings
This commit is contained in:
parent
3d8338b0d4
commit
ecc6c1f501
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user