Index: core/src/fpdfdoc/doc_link.cpp |
diff --git a/core/src/fpdfdoc/doc_link.cpp b/core/src/fpdfdoc/doc_link.cpp |
index 0109e7c9b359e1844f0657121c7fe6c9bbb59249..e614af3ec8e89b010420a56f64a342acbfd1f8b7 100644 |
--- a/core/src/fpdfdoc/doc_link.cpp |
+++ b/core/src/fpdfdoc/doc_link.cpp |
@@ -11,7 +11,8 @@ CPDF_LinkList::~CPDF_LinkList() |
{ |
FX_POSITION pos = m_PageMap.GetStartPosition(); |
while (pos) { |
- FX_LPVOID key, value; |
+ void* key; |
+ void* value; |
m_PageMap.GetNextAssoc(pos, key, value); |
delete (CFX_PtrArray*)value; |
} |
@@ -23,9 +24,9 @@ CFX_PtrArray* CPDF_LinkList::GetPageLinks(CPDF_Page* pPage) |
return NULL; |
} |
CFX_PtrArray* pPageLinkList = NULL; |
- if (!m_PageMap.Lookup((FX_LPVOID)(uintptr_t)objnum, (FX_LPVOID&)pPageLinkList)) { |
+ if (!m_PageMap.Lookup((void*)(uintptr_t)objnum, (void*&)pPageLinkList)) { |
pPageLinkList = new CFX_PtrArray; |
- m_PageMap.SetAt((FX_LPVOID)(uintptr_t)objnum, pPageLinkList); |
+ m_PageMap.SetAt((void*)(uintptr_t)objnum, pPageLinkList); |
LoadPageLinks(pPage, pPageLinkList); |
} |
return pPageLinkList; |