From 7918b31caed84a0eec9990f96029b8044712187b Mon Sep 17 00:00:00 2001 From: Jacob Barthelmeh Date: Thu, 24 Aug 2017 15:22:32 -0600 Subject: [PATCH] cast to fix warning on Windows with Visual Studio --- src/ssl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ssl.c b/src/ssl.c index 78ed9c296..03b656c9a 100755 --- a/src/ssl.c +++ b/src/ssl.c @@ -22904,7 +22904,7 @@ void* wolfSSL_GetRsaDecCtx(WOLFSSL* ssl) } if (bp->type == BIO_MEMORY) { - l = wolfSSL_BIO_ctrl_pending(bp); + l = (long)wolfSSL_BIO_ctrl_pending(bp); if (l <= 0) { WOLFSSL_MSG("No pending data in WOLFSSL_BIO"); return NULL;