Index: Source/core/xml/XPathResult.cpp |
diff --git a/Source/core/xml/XPathResult.cpp b/Source/core/xml/XPathResult.cpp |
index 4a20e451b48e64ec834050d2c60acc7c6860b334..f7db0e4b37c5910d4a27935ef9ba11acafde9aa9 100644 |
--- a/Source/core/xml/XPathResult.cpp |
+++ b/Source/core/xml/XPathResult.cpp |
@@ -167,7 +167,7 @@ bool XPathResult::invalidIteratorState() const |
return m_document->domTreeVersion() != m_domTreeVersion; |
} |
-unsigned long XPathResult::snapshotLength(ExceptionCode& ec) const |
+unsigned XPathResult::snapshotLength(ExceptionCode& ec) const |
{ |
if (resultType() != UNORDERED_NODE_SNAPSHOT_TYPE && resultType() != ORDERED_NODE_SNAPSHOT_TYPE) { |
ec = TypeError; |
@@ -199,7 +199,7 @@ Node* XPathResult::iterateNext(ExceptionCode& ec) |
return node; |
} |
-Node* XPathResult::snapshotItem(unsigned long index, ExceptionCode& ec) |
+Node* XPathResult::snapshotItem(unsigned index, ExceptionCode& ec) |
{ |
if (resultType() != UNORDERED_NODE_SNAPSHOT_TYPE && resultType() != ORDERED_NODE_SNAPSHOT_TYPE) { |
ec = TypeError; |