diff options
author | Steve Holme <steve_holme@hotmail.com> | 2013-11-04 00:38:58 +0000 |
---|---|---|
committer | Steve Holme <steve_holme@hotmail.com> | 2013-11-04 00:38:58 +0000 |
commit | 989b28fe973163c34a877d4ddcfee0b7267f20ae (patch) | |
tree | 66be60c85727b1527509d55998a32be9518406c8 | |
parent | aa61e14dc1b2b281a827dd0183a05b6166cb3427 (diff) |
nss.c: Fixed compilation warnings
nss.c:700: warning: pointer targets in passing argument 3 of
'Curl_extract_certinfo' differ in signedness
nss.c:700: warning: pointer targets in passing argument 4 of
'Curl_extract_certinfo' differ in signedness
-rw-r--r-- | lib/nss.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -696,8 +696,10 @@ static void display_conn_info(struct connectdata *conn, PRFileDesc *sock) } Curl_ssl_init_certinfo(conn->data, i); for(i = 0; cert; cert = cert2) { - Curl_extract_certinfo(conn, i++, cert->derCert.data, - cert->derCert.data + cert->derCert.len); + Curl_extract_certinfo(conn, i++, + (unsigned char *) cert->derCert.data, + (unsigned char *) cert->derCert.data + + cert->derCert.len); if(cert->isRoot) { CERT_DestroyCertificate(cert); break; |