aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2006-04-25 05:32:05 +0000
committerDaniel Stenberg <daniel@haxx.se>2006-04-25 05:32:05 +0000
commitecc6c1f501ae835471b8844cba393835a12bb803 (patch)
treed059534041dfe5b721958e8f64fa5e1056769c4b
parent3d8338b0d46338cb23c1c3ffec2373df686f329e (diff)
prevent signed/unsigned warnings
-rw-r--r--lib/multi.c4
1 files 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;
}
}