diff options
author | Daniel Stenberg <daniel@haxx.se> | 2004-11-22 13:28:44 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2004-11-22 13:28:44 +0000 |
commit | 8e34e75100d8eac74f5a0019c3b22fde53bc08d6 (patch) | |
tree | e8d030fed8f6012d4984412469c9d6107e9fd494 /lib/connect.c | |
parent | 4be60ac155dc69903abbe3e8d5a9c1d3a5c39d4f (diff) |
Curl_select's timeout arg is an int
Diffstat (limited to 'lib/connect.c')
-rw-r--r-- | lib/connect.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/connect.c b/lib/connect.c index b8e1e7158..e982ddfaf 100644 --- a/lib/connect.c +++ b/lib/connect.c @@ -212,7 +212,7 @@ int waitconnect(curl_socket_t sockfd, /* socket */ #endif /* now select() until we get connect or timeout */ - rc = Curl_select(CURL_SOCKET_BAD, sockfd, timeout_msec); + rc = Curl_select(CURL_SOCKET_BAD, sockfd, (int)timeout_msec); if(-1 == rc) /* error, no connect here, try next */ return WAITCONN_SELECT_ERROR; |