From d5577c9404a81976482df495242553a53acbc45e Mon Sep 17 00:00:00 2001 From: Juliusz Sosinowicz Date: Wed, 10 Jun 2020 18:30:02 +0200 Subject: [PATCH] Explicit convert --- src/ssl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ssl.c b/src/ssl.c index 17088c596..3fadd78e8 100644 --- a/src/ssl.c +++ b/src/ssl.c @@ -41934,7 +41934,7 @@ int wolfSSL_CRYPTO_memcmp(const void *a, const void *b, size_t size) { if (!a || !b) return 0; - return ConstantCompare(a, b, size); + return ConstantCompare((const byte*)a, (const byte*)b, (int)size); } int wolfSSL_sk_X509_num(const WOLF_STACK_OF(WOLFSSL_X509) *s)