Browse Source

Fix signed/unsigned warning

bel 9 years ago
parent
commit
001817bba8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/civetweb.c

+ 1 - 1
src/civetweb.c

@@ -11389,7 +11389,7 @@ ssl_get_client_cert_info(struct mg_connection *conn)
 		/* Calculate SHA1 fingerprint and store as a hex string */
 		/* Calculate SHA1 fingerprint and store as a hex string */
 		ulen = 0;
 		ulen = 0;
 		ASN1_digest((int (*)())i2d_X509, digest, (char *)cert, buf, &ulen);
 		ASN1_digest((int (*)())i2d_X509, digest, (char *)cert, buf, &ulen);
-		if (!hexdump2string(buf, ulen, str_finger, (int)sizeof(str_finger))) {
+		if (!hexdump2string(buf, (int)ulen, str_finger, (int)sizeof(str_finger))) {
 			*str_finger = 0;
 			*str_finger = 0;
 		}
 		}