From 03a5395b531db35e47b9b8fe119c0816885582ce Mon Sep 17 00:00:00 2001 From: Lealem Amedie Date: Tue, 1 Jun 2021 09:46:30 -0600 Subject: [PATCH] Fixed casting issue --- tests/api.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/api.c b/tests/api.c index 76454efb0..0c24463e5 100644 --- a/tests/api.c +++ b/tests/api.c @@ -5500,8 +5500,8 @@ static void test_wolfSSL_PKCS12(void) bytes = (int)XFREAD(buffer, 1, sizeof(buffer), f); XFCLOSE(f); - goodPswLen = XSTRLEN(goodPsw); - badPswLen = XSTRLEN(badPsw); + goodPswLen = (int)XSTRLEN(goodPsw); + badPswLen = (int)XSTRLEN(badPsw); bio = BIO_new_mem_buf((void*)buffer, bytes); AssertNotNull(bio);