From 958b5ac465763a2b32b78b04d11237850534d778 Mon Sep 17 00:00:00 2001 From: Colton Willey Date: Wed, 15 May 2024 08:30:38 -0700 Subject: [PATCH] Clean up cast warning --- tests/api.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/api.c b/tests/api.c index 14f15d2932..a386c1f9e1 100644 --- a/tests/api.c +++ b/tests/api.c @@ -41247,7 +41247,7 @@ static int test_wolfSSL_X509_bad_altname(void) X509* x509 = NULL; int certSize = sizeof(malformed_alt_name_cert) / sizeof(unsigned char); const char *name = "aaaaa"; - int nameLen = strlen(name); + int nameLen = (int)strlen(name); ExpectNotNull(x509 = wolfSSL_X509_load_certificate_buffer( malformed_alt_name_cert, certSize, SSL_FILETYPE_ASN1));