aboutsummaryrefslogtreecommitdiff
path: root/lib/select.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2005-04-26 13:08:49 +0000
committerDaniel Stenberg <daniel@haxx.se>2005-04-26 13:08:49 +0000
commit6b1220b61d5ed2481dbf31714a68be6ef6eed3da (patch)
tree2fdb2eb09bbfae448dc87dc0e9fc214452cb12e1 /lib/select.c
parent9d7330d8790be54c3885e23359b25534974cfb82 (diff)
Cory Nelson's work on nuking compiler warnings when building on x64 with
VS2005.
Diffstat (limited to 'lib/select.c')
-rw-r--r--lib/select.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/select.c b/lib/select.c
index 59aec52bd..634f8efda 100644
--- a/lib/select.c
+++ b/lib/select.c
@@ -151,7 +151,7 @@ int Curl_select(curl_socket_t readfd, curl_socket_t writefd, int timeout_ms)
}
do {
- r = select(maxfd + 1, &fds_read, &fds_write, &fds_err, &timeout);
+ r = select((int)maxfd + 1, &fds_read, &fds_write, &fds_err, &timeout);
} while((r == -1) && (Curl_ourerrno() == EINTR));
if (r < 0)
@@ -236,7 +236,7 @@ int Curl_poll(struct pollfd ufds[], unsigned int nfds, int timeout_ms)
}
do {
- r = select(maxfd + 1, &fds_read, &fds_write, &fds_err, ptimeout);
+ r = select((int)maxfd + 1, &fds_read, &fds_write, &fds_err, ptimeout);
} while((r == -1) && (Curl_ourerrno() == EINTR));
if (r < 0)