Explorar el Código

Fix signed/unsigned warning

bel hace 9 años
padre
commit
001817bba8
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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 */
 		ulen = 0;
 		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;
 		}