| Index: core/src/fpdftext/fpdf_text_search.cpp
|
| diff --git a/core/src/fpdftext/fpdf_text_search.cpp b/core/src/fpdftext/fpdf_text_search.cpp
|
| index bfd742f1ab64b8e7d152b1e581e4a2f9ff37c65a..89e132991dcbb13ee7615a9452df04e398c3a229 100644
|
| --- a/core/src/fpdftext/fpdf_text_search.cpp
|
| +++ b/core/src/fpdftext/fpdf_text_search.cpp
|
| @@ -266,14 +266,14 @@ FX_BOOL CPDF_TextStream::ProcessObject(const CPDF_TextObject* pObj, FX_BOOL bFir
|
| m_Buffer.AppendChar((FX_WCHAR)item.m_CharCode);
|
| if (m_pObjArray) {
|
| m_pObjArray->Add((void*)pObj);
|
| - m_pObjArray->Add((void*)(FX_INTPTR)item_index);
|
| + m_pObjArray->Add((void*)(intptr_t)item_index);
|
| }
|
| } else {
|
| m_Buffer << unicode_str;
|
| if (m_pObjArray) {
|
| for (int i = 0; i < unicode_str.GetLength(); i ++) {
|
| m_pObjArray->Add((void*)pObj);
|
| - m_pObjArray->Add((void*)(FX_INTPTR)item_index);
|
| + m_pObjArray->Add((void*)(intptr_t)item_index);
|
| }
|
| }
|
| }
|
|
|