Index: core/src/fpdfdoc/doc_annot.cpp |
diff --git a/core/src/fpdfdoc/doc_annot.cpp b/core/src/fpdfdoc/doc_annot.cpp |
index 5086fba3a33aebc470c527b98084b78eae3634f2..3fe20b6e285ab5d384fdb7525c7d0c1511f8b1a9 100644 |
--- a/core/src/fpdfdoc/doc_annot.cpp |
+++ b/core/src/fpdfdoc/doc_annot.cpp |
@@ -129,7 +129,7 @@ void CPDF_AnnotList::DisplayAnnots(const CPDF_Page* pPage, CFX_RenderDevice* pDe |
int CPDF_AnnotList::GetIndex(CPDF_Annot* pAnnot) |
{ |
for (int i = 0; i < m_AnnotList.GetSize(); ++i) |
- if (m_AnnotList[i] == (FX_LPVOID)pAnnot) { |
+ if (m_AnnotList[i] == (void*)pAnnot) { |
return i; |
} |
return -1; |