Fix conversion warning.

This commit is contained in:
Kareem
2025-07-30 17:37:32 -07:00
parent ab342978d7
commit a652b733e4

View File

@@ -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;
}