mirror of
https://github.com/curl/curl.git
synced 2026-07-31 11:58:05 +03:00
Variable type cleanups to please the picky MIPSPro compiler.
This commit is contained in:
parent
f05d47ddd6
commit
090b89cc76
6 changed files with 18 additions and 16 deletions
|
|
@ -633,7 +633,7 @@ static int Store_SSL_Session(struct connectdata *conn,
|
|||
int i;
|
||||
struct SessionHandle *data=conn->data; /* the mother of all structs */
|
||||
struct curl_ssl_session *store = &data->state.session[0];
|
||||
int oldest_age=data->state.session[0].age; /* zero if unused */
|
||||
long oldest_age=data->state.session[0].age; /* zero if unused */
|
||||
char *clone_host;
|
||||
|
||||
clone_host = strdup(conn->host.name);
|
||||
|
|
@ -1351,7 +1351,7 @@ Curl_SSLConnect(struct connectdata *conn,
|
|||
/* we have been connected fine, get out of the connect loop */
|
||||
break;
|
||||
|
||||
interval.tv_sec = timeout_ms/1000;
|
||||
interval.tv_sec = (int)(timeout_ms/1000);
|
||||
timeout_ms -= interval.tv_sec*1000;
|
||||
|
||||
interval.tv_usec = timeout_ms*1000;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue