From ecc6c1f501ae835471b8844cba393835a12bb803 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 25 Apr 2006 05:32:05 +0000 Subject: prevent signed/unsigned warnings --- lib/multi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/multi.c b/lib/multi.c index 7a75eb3dc..ee7e388fa 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; } } -- cgit v1.2.3