Skip to content

Commit 958b5ac

Browse files
committed
Clean up cast warning
1 parent eb24bce commit 958b5ac

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/api.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41247,7 +41247,7 @@ static int test_wolfSSL_X509_bad_altname(void)
4124741247
X509* x509 = NULL;
4124841248
int certSize = sizeof(malformed_alt_name_cert) / sizeof(unsigned char);
4124941249
const char *name = "aaaaa";
41250-
int nameLen = strlen(name);
41250+
int nameLen = (int)strlen(name);
4125141251

4125241252
ExpectNotNull(x509 = wolfSSL_X509_load_certificate_buffer(
4125341253
malformed_alt_name_cert, certSize, SSL_FILETYPE_ASN1));

0 commit comments

Comments
 (0)