| Index: fpdfsdk/src/fpdfdoc.cpp
|
| diff --git a/fpdfsdk/src/fpdfdoc.cpp b/fpdfsdk/src/fpdfdoc.cpp
|
| index ad8ef8bea38070df46d49fd23d93d1b52804fbe1..8a4d619292aeb322dea564cca36ddc2c36660e2d 100644
|
| --- a/fpdfsdk/src/fpdfdoc.cpp
|
| +++ b/fpdfsdk/src/fpdfdoc.cpp
|
| @@ -197,7 +197,7 @@ DLLEXPORT unsigned long STDCALL FPDFDest_GetPageIndex(FPDF_DOCUMENT document,
|
| CPDF_Document* pDoc = CPDFDocumentFromFPDFDocument(document);
|
| if (!pDoc)
|
| return 0;
|
| - CPDF_Dest dest((CPDF_Array*)pDict);
|
| + CPDF_Dest dest(static_cast<CPDF_Array*>(pDict));
|
| return dest.GetPageIndex(pDoc);
|
| }
|
|
|
|
|