From e276b54f6b01058304c8015be5aa615fecebb409 Mon Sep 17 00:00:00 2001 From: jordan Date: Thu, 12 Sep 2024 22:31:58 -0500 Subject: [PATCH] cleanup: fix cast warning. --- src/x509.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/x509.c b/src/x509.c index d7d9bd0b19..7691f5854f 100644 --- a/src/x509.c +++ b/src/x509.c @@ -5856,7 +5856,7 @@ static int X509PrintDirType(char * dst, int max_len, const DNS_entry * entry) word32 k = 0; word32 i = 0; const char * src = entry->name; - word32 src_len = XSTRLEN(src); + word32 src_len = (word32)XSTRLEN(src); int total_len = 0; int bytes_left = max_len; int fld_len = 0;