summaryrefslogtreecommitdiff
path: root/xfa/fxfa/parser/cxfa_treelist.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fxfa/parser/cxfa_treelist.cpp')
-rw-r--r--xfa/fxfa/parser/cxfa_treelist.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xfa/fxfa/parser/cxfa_treelist.cpp b/xfa/fxfa/parser/cxfa_treelist.cpp
index 941020fe27..5db9ecbdf9 100644
--- a/xfa/fxfa/parser/cxfa_treelist.cpp
+++ b/xfa/fxfa/parser/cxfa_treelist.cpp
@@ -29,7 +29,7 @@ CXFA_Node* CXFA_TreeList::NamedItem(const WideStringView& wsName) {
uint32_t dwHashCode = FX_HashCode_GetW(wsName, false);
size_t count = GetLength();
for (size_t i = 0; i < count; i++) {
- CXFA_Node* ret = Item(pdfium::base::checked_cast<int32_t>(i));
+ CXFA_Node* ret = Item(i);
if (dwHashCode == ret->GetNameHash())
return ret;
}