Index: core/src/fpdfdoc/doc_form.cpp |
diff --git a/core/src/fpdfdoc/doc_form.cpp b/core/src/fpdfdoc/doc_form.cpp |
index 3192445d90a286b30752f6ce49f91a17cacecb23..c155b947d942cda8bd92ae91671d642225d178ee 100644 |
--- a/core/src/fpdfdoc/doc_form.cpp |
+++ b/core/src/fpdfdoc/doc_form.cpp |
@@ -1186,7 +1186,7 @@ CFDF_Document* CPDF_InterForm::ExportToFDF(const CFX_WideStringC& pdf_path, |
} else { |
CPDF_FileSpec filespec; |
filespec.SetFileName(pdf_path); |
- pMainDict->SetAt("F", (CPDF_Object*)filespec); |
+ pMainDict->SetAt("F", static_cast<CPDF_Object*>(filespec)); |
} |
} |
CPDF_Array* pFields = CPDF_Array::Create(); |