Merge pull request #1119 from JacobBarthelmeh/Windows

cast to fix warning on Windows with Visual Studio
This commit is contained in:
dgarske
2017-08-25 07:04:42 -07:00
committed by GitHub

View File

@ -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;