aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGunter Knauf <gk@gknw.de>2009-09-06 20:16:59 +0000
committerGunter Knauf <gk@gknw.de>2009-09-06 20:16:59 +0000
commit5e3796349a1974e80bfedc2bdd4c336bf6e164c7 (patch)
treed2d85be0c10085d1f25425a776223dd46c144a6b /lib
parent56a161e09a54727812440442758338a15b746459 (diff)
added casts to silent compiler warning on 64bit systems.
Diffstat (limited to 'lib')
-rw-r--r--lib/nss.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/nss.c b/lib/nss.c
index d70d1beaf..9353879f7 100644
--- a/lib/nss.c
+++ b/lib/nss.c
@@ -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);