cast to fix warning on Windows with Visual Studio

This commit is contained in:
Jacob Barthelmeh
2017-08-24 15:22:32 -06:00
parent 23342337ab
commit 7918b31cae

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;