mirror of
https://github.com/curl/curl.git
synced 2026-08-25 22:13:33 +03:00
curl_socket_t mistakes cleanup
This commit is contained in:
parent
85838a8966
commit
7225b14002
7 changed files with 18 additions and 14 deletions
|
|
@ -279,8 +279,8 @@ CURLMcode curl_multi_fdset(CURLM *multi_handle,
|
|||
FD_SET(sockfd, write_fd_set);
|
||||
}
|
||||
|
||||
if(sockfd > *max_fd)
|
||||
*max_fd = sockfd;
|
||||
if((int)sockfd > *max_fd)
|
||||
*max_fd = (int)sockfd;
|
||||
}
|
||||
break;
|
||||
case CURLM_STATE_PERFORM:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue