From: Guenter Knauf Date: Wed, 31 Mar 2010 00:09:49 +0000 (+0200) Subject: fix compiler warning with a cast. X-Git-Tag: curl-7_20_1~30 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7b913444ec68d00c96c1ea0926fbeb07c8ea19b2;p=thirdparty%2Fcurl.git fix compiler warning with a cast. --- diff --git a/lib/nss.c b/lib/nss.c index bff5394902..2babfdf1d7 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;