aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGuenter Knauf <lists@gknw.net>2010-03-31 02:09:49 +0200
committerGuenter Knauf <lists@gknw.net>2010-03-31 02:09:49 +0200
commit7b913444ec68d00c96c1ea0926fbeb07c8ea19b2 (patch)
tree141a808dc504206f67c77f2bf3c183976bfc4781 /lib
parent909fdc07bf612eb593735dc79a96566f6802699a (diff)
fix compiler warning with a cast.
Diffstat (limited to 'lib')
-rw-r--r--lib/nss.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/nss.c b/lib/nss.c
index bff539490..2babfdf1d 100644
--- a/lib/nss.c
+++ b/lib/nss.c
@@ -1282,7 +1282,7 @@ CURLcode Curl_nss_connect(struct connectdata *conn, int sockindex)
SSL_SetURL(connssl->handle, conn->host.name);
/* Force the handshake now */
- timeout = PR_MillisecondsToInterval(Curl_timeleft(conn, NULL, TRUE));
+ timeout = PR_MillisecondsToInterval((PRUint32)Curl_timeleft(conn, NULL, TRUE));
if(SSL_ForceHandshakeWithTimeout(connssl->handle, timeout) != SECSuccess) {
if(conn->data->set.ssl.certverifyresult == SSL_ERROR_BAD_CERT_DOMAIN)
curlerr = CURLE_PEER_FAILED_VERIFICATION;