diff options
Diffstat (limited to 'core/fpdfdoc/cpdf_formfield.cpp')
-rw-r--r-- | core/fpdfdoc/cpdf_formfield.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fpdfdoc/cpdf_formfield.cpp b/core/fpdfdoc/cpdf_formfield.cpp index e2240c9f2f..8170b7fcbf 100644 --- a/core/fpdfdoc/cpdf_formfield.cpp +++ b/core/fpdfdoc/cpdf_formfield.cpp @@ -682,7 +682,7 @@ int CPDF_FormField::InsertOption(CFX_WideString csOptLabel, m_pDict->SetFor("Opt", pOpt); } - int iCount = pdfium::base::checked_cast<int, size_t>(pOpt->GetCount()); + int iCount = pdfium::base::checked_cast<int>(pOpt->GetCount()); if (index >= iCount) { pOpt->AddString(csStr); index = iCount; |