mirror of
https://github.com/curl/curl.git
synced 2026-07-23 08:17:17 +03:00
added casts to silent compiler warning on 64bit systems.
This commit is contained in:
parent
56a161e09a
commit
5e3796349a
1 changed files with 2 additions and 2 deletions
|
|
@ -1283,7 +1283,7 @@ int Curl_nss_send(struct connectdata *conn, /* connection data */
|
|||
int rc;
|
||||
|
||||
if(data->set.timeout)
|
||||
timeout = PR_MillisecondsToInterval(data->set.timeout);
|
||||
timeout = PR_MillisecondsToInterval((PRUint32)data->set.timeout);
|
||||
else
|
||||
timeout = PR_MillisecondsToInterval(DEFAULT_CONNECT_TIMEOUT);
|
||||
|
||||
|
|
@ -1319,7 +1319,7 @@ ssize_t Curl_nss_recv(struct connectdata * conn, /* connection data */
|
|||
PRInt32 timeout;
|
||||
|
||||
if(data->set.timeout)
|
||||
timeout = PR_SecondsToInterval(data->set.timeout);
|
||||
timeout = PR_SecondsToInterval((PRUint32)data->set.timeout);
|
||||
else
|
||||
timeout = PR_MillisecondsToInterval(DEFAULT_CONNECT_TIMEOUT);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue