diff options
Diffstat (limited to 'core')
-rw-r--r-- | core/fpdfapi/parser/cpdf_crypto_handler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fpdfapi/parser/cpdf_crypto_handler.cpp b/core/fpdfapi/parser/cpdf_crypto_handler.cpp index 76be23e9d6..fa784668fa 100644 --- a/core/fpdfapi/parser/cpdf_crypto_handler.cpp +++ b/core/fpdfapi/parser/cpdf_crypto_handler.cpp @@ -238,7 +238,7 @@ bool CPDF_CryptoHandler::CryptFinish(void* context, FX_Free(context); return true; } - AESCryptContext* pContext = (AESCryptContext*)context; + auto* pContext = static_cast<AESCryptContext*>(context); if (bEncrypt) { uint8_t block_buf[16]; if (pContext->m_BlockOffset == 16) { |