From 5ac11e9f58a1623e406ba77c26332cba8c9f7110 Mon Sep 17 00:00:00 2001 From: olszomal Date: Tue, 1 Jul 2025 11:57:44 +0200 Subject: [PATCH] Fix -Wsign-conversion warning in x509_name_to_utf8() --- osslsigncode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osslsigncode.c b/osslsigncode.c index 588d507..3c7e67e 100644 --- a/osslsigncode.c +++ b/osslsigncode.c @@ -1766,7 +1766,7 @@ static char *x509_name_to_utf8(const X509_NAME *name) flags = XN_FLAG_RFC2253 | ASN1_STRFLGS_UTF8_CONVERT | ASN1_STRFLGS_ESC_CTRL; - flags &= ~ASN1_STRFLGS_ESC_MSB; + flags &= ~(unsigned long)ASN1_STRFLGS_ESC_MSB; bio = BIO_new(BIO_s_mem()); if (!bio)