diff options
author | Daniel Stenberg <daniel@haxx.se> | 2004-07-01 08:10:21 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2004-07-01 08:10:21 +0000 |
commit | 090b89cc76acfa0bb388a9eb425dfaa81f62b5ae (patch) | |
tree | dda4228af299fcdf4da891736c9837fabbcaf97e /lib/ssluse.c | |
parent | f05d47ddd6d706dcda05504da8c90a111d53f67b (diff) |
Variable type cleanups to please the picky MIPSPro compiler.
Diffstat (limited to 'lib/ssluse.c')
-rw-r--r-- | lib/ssluse.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ssluse.c b/lib/ssluse.c index e70462211..7f568bb99 100644 --- a/lib/ssluse.c +++ b/lib/ssluse.c @@ -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; |