| Index: core/fpdfdoc/doc_link.cpp
|
| diff --git a/core/fpdfdoc/doc_link.cpp b/core/fpdfdoc/doc_link.cpp
|
| index b1a6a732ff2b5cb8ad214f77750bf22440fd9403..3f97024237273b733c8168a8ef6edc9a71ab83c3 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.
|
|
|