summaryrefslogtreecommitdiff
path: root/core/fpdfapi/edit/cpdf_encryptor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/fpdfapi/edit/cpdf_encryptor.cpp')
-rw-r--r--core/fpdfapi/edit/cpdf_encryptor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fpdfapi/edit/cpdf_encryptor.cpp b/core/fpdfapi/edit/cpdf_encryptor.cpp
index 858b5b6369..45be9f8447 100644
--- a/core/fpdfapi/edit/cpdf_encryptor.cpp
+++ b/core/fpdfapi/edit/cpdf_encryptor.cpp
@@ -9,7 +9,7 @@
CPDF_Encryptor::CPDF_Encryptor(CPDF_CryptoHandler* pHandler,
int objnum,
- uint8_t* src_data,
+ const uint8_t* src_data,
uint32_t src_size)
: m_pData(nullptr), m_dwSize(0), m_bNewBuf(false) {
if (src_size == 0)