when an 'int' is assigned to a 'time_t' variable. Hence redefine 'retry_time'
and 'retry_max' to 'time_t'.
struct connectdata *conn;
curl_socket_t sockfd;
int retries;
- int retry_time;
- int retry_max;
+ time_t retry_time;
+ time_t retry_max;
time_t start_time;
time_t max_time;
unsigned short block;
/* Wait until ready to read or timeout occurs */
rc=Curl_socket_ready(state->sockfd, CURL_SOCKET_BAD,
- state->retry_time * 1000);
+ (int)(state->retry_time * 1000));
if(rc == -1) {
/* bail out */