prevent signed/unsigned warnings

This commit is contained in:
Daniel Stenberg 2006-04-25 05:32:05 +00:00
parent 3d8338b0d4
commit ecc6c1f501
1 changed files with 2 additions and 2 deletions

View 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;
}
}