diff options
Diffstat (limited to 'core/fpdfdoc/doc_link.cpp')
-rw-r--r-- | core/fpdfdoc/doc_link.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/fpdfdoc/doc_link.cpp b/core/fpdfdoc/doc_link.cpp index b1a6a732ff..3f97024237 100644 --- a/core/fpdfdoc/doc_link.cpp +++ b/core/fpdfdoc/doc_link.cpp @@ -17,7 +17,7 @@ CPDF_LinkList::~CPDF_LinkList() {} const std::vector<CPDF_Dictionary*>* CPDF_LinkList::GetPageLinks( CPDF_Page* pPage) { - FX_DWORD objnum = pPage->m_pFormDict->GetObjNum(); + uint32_t objnum = pPage->m_pFormDict->GetObjNum(); if (objnum == 0) return nullptr; @@ -63,7 +63,7 @@ void CPDF_LinkList::LoadPageLinks(CPDF_Page* pPage, if (!pAnnotList) return; - for (FX_DWORD i = 0; i < pAnnotList->GetCount(); ++i) { + for (uint32_t i = 0; i < pAnnotList->GetCount(); ++i) { CPDF_Dictionary* pAnnot = pAnnotList->GetDictAt(i); bool add_link = (pAnnot && pAnnot->GetStringBy("Subtype") == "Link"); // Add non-links as nullptrs to preserve z-order. |