From 001817bba823f9e3ca1e0cca6b84fd1f87ce5bd3 Mon Sep 17 00:00:00 2001 From: bel Date: Mon, 25 Jul 2016 21:27:28 +0200 Subject: [PATCH] Fix signed/unsigned warning --- src/civetweb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/civetweb.c b/src/civetweb.c index 6afda6c5..c258acd1 100644 --- a/src/civetweb.c +++ b/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; }