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;