From a652b733e47cee7a3e2dea7a14070f0723f398ec Mon Sep 17 00:00:00 2001 From: Kareem Date: Wed, 30 Jul 2025 17:37:32 -0700 Subject: [PATCH] Fix conversion warning. --- src/ssl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ssl.c b/src/ssl.c index a4015ba29..744bdfb26 100644 --- a/src/ssl.c +++ b/src/ssl.c @@ -6173,7 +6173,7 @@ int SetCAType(WOLFSSL_CERT_MANAGER* cm, byte* hash, int type) #endif if (XMEMCMP(hash, subjectHash, SIGNER_DIGEST_SIZE) == 0) { - current->type = type; + current->type = (byte)type; ret = WOLFSSL_SUCCESS; break; }