summaryrefslogtreecommitdiff
path: root/core/fpdfapi/edit/cpdf_flateencoder.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/fpdfapi/edit/cpdf_flateencoder.h')
-rw-r--r--core/fpdfapi/edit/cpdf_flateencoder.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fpdfapi/edit/cpdf_flateencoder.h b/core/fpdfapi/edit/cpdf_flateencoder.h
index acac753e5c..b2213de5f3 100644
--- a/core/fpdfapi/edit/cpdf_flateencoder.h
+++ b/core/fpdfapi/edit/cpdf_flateencoder.h
@@ -23,7 +23,7 @@ class CPDF_FlateEncoder {
void CloneDict();
uint32_t GetSize() const { return m_dwSize; }
- uint8_t* GetData() const { return m_pData.Get(); }
+ const uint8_t* GetData() const { return m_pData.Get(); }
CPDF_Dictionary* GetDict() { return m_pDict.Get(); }