Index: fpdfsdk/src/formfiller/FFL_Utils.cpp |
diff --git a/fpdfsdk/src/formfiller/FFL_Utils.cpp b/fpdfsdk/src/formfiller/FFL_Utils.cpp |
index d2ce56ac5244aa4b141e4e67e1fcf2d349405f09..a4463b724283e91dd2552ade44244e6af433452f 100644 |
--- a/fpdfsdk/src/formfiller/FFL_Utils.cpp |
+++ b/fpdfsdk/src/formfiller/FFL_Utils.cpp |
@@ -51,7 +51,7 @@ FX_BOOL CFFL_Utils::TraceObject(CPDF_Object* pObj) { |
} break; |
case PDFOBJ_DICTIONARY: { |
- CPDF_Dictionary* pDict = (CPDF_Dictionary*)pObj; |
+ CPDF_Dictionary* pDict = pObj->AsDictionary(); |
FX_POSITION fPos = pDict->GetStartPos(); |
CFX_ByteString csKey; |