summaryrefslogtreecommitdiff
path: root/xfa/fxfa/parser/cxfa_arraynodelist.h
diff options
context:
space:
mode:
authorRyan Harrison <rharrison@chromium.org>2018-01-04 14:49:12 -0500
committerChromium commit bot <commit-bot@chromium.org>2018-01-04 20:09:31 +0000
commit86b5267ac4c2f169f105a1ea30cdf2eb0ea0b5dc (patch)
tree3915dfbd64eee6070f7c853b1f81acd38156a7ce /xfa/fxfa/parser/cxfa_arraynodelist.h
parentde3f3fc5e16a2ee4fad2bdc0cda9e2ce73fd4fe3 (diff)
downloadpdfium-86b5267ac4c2f169f105a1ea30cdf2eb0ea0b5dc.tar.xz
Make indices for CXFA_List be size_t instead of int32_t
Change-Id: Id825e027a337636bb779f09bc0b1c6985a781fa1 Reviewed-on: https://pdfium-review.googlesource.com/22257 Commit-Queue: Ryan Harrison <rharrison@chromium.org> Reviewed-by: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'xfa/fxfa/parser/cxfa_arraynodelist.h')
-rw-r--r--xfa/fxfa/parser/cxfa_arraynodelist.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/xfa/fxfa/parser/cxfa_arraynodelist.h b/xfa/fxfa/parser/cxfa_arraynodelist.h
index caee762e29..346b206f20 100644
--- a/xfa/fxfa/parser/cxfa_arraynodelist.h
+++ b/xfa/fxfa/parser/cxfa_arraynodelist.h
@@ -24,7 +24,7 @@ class CXFA_ArrayNodeList : public CXFA_TreeList {
bool Append(CXFA_Node* pNode) override;
bool Insert(CXFA_Node* pNewNode, CXFA_Node* pBeforeNode) override;
bool Remove(CXFA_Node* pNode) override;
- CXFA_Node* Item(int32_t iIndex) override;
+ CXFA_Node* Item(size_t iIndex) override;
void SetArrayNodeList(const std::vector<CXFA_Node*>& srcArray);