dbertoni 01/09/26 13:53:12
Modified: c/src/XalanExtensions FunctionDifference.cpp
FunctionDistinct.cpp FunctionHasSameNodes.cpp
FunctionIntersection.cpp
Log:
32/64-bit fixes.
Revision Changes Path
1.5 +2 -2 xml-xalan/c/src/XalanExtensions/FunctionDifference.cpp
Index: FunctionDifference.cpp
===================================================================
RCS file: /home/cvs/xml-xalan/c/src/XalanExtensions/FunctionDifference.cpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- FunctionDifference.cpp 2001/09/20 18:06:05 1.4
+++ FunctionDifference.cpp 2001/09/26 20:53:11 1.5
@@ -92,12 +92,12 @@
BorrowReturnMutableNodeRefList theResult(executionContext);
- const unsigned int theLength = nodeset1.getLength();
+ const NodeRefListBase::size_type theLength =
nodeset1.getLength();
// Check the second node-set for nodes in the
// first node-set. If a node is not found,
// add it to the result.
- for (unsigned int i = 0; i < theLength; ++i)
+ for (NodeRefListBase::size_type i = 0; i < theLength; ++i)
{
XalanNode* const theNode = nodeset1.item(i);
assert(theNode != 0);
1.7 +2 -2 xml-xalan/c/src/XalanExtensions/FunctionDistinct.cpp
Index: FunctionDistinct.cpp
===================================================================
RCS file: /home/cvs/xml-xalan/c/src/XalanExtensions/FunctionDistinct.cpp,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- FunctionDistinct.cpp 2001/09/20 18:06:05 1.6
+++ FunctionDistinct.cpp 2001/09/26 20:53:11 1.7
@@ -102,7 +102,7 @@
BorrowReturnMutableNodeRefList theResult(executionContext);
- const unsigned int theLength = nodeset.getLength();
+ const NodeRefListBase::size_type theLength = nodeset.getLength();
if (theLength == 1)
{
@@ -126,7 +126,7 @@
// Check to make sure each node has a unique
// string value.
- for (unsigned int i = 0; i < theLength; ++i)
+ for (NodeRefListBase::size_type i = 0; i < theLength; ++i)
{
XalanNode* const theNode = nodeset.item(i);
assert(theNode != 0);
1.5 +2 -2 xml-xalan/c/src/XalanExtensions/FunctionHasSameNodes.cpp
Index: FunctionHasSameNodes.cpp
===================================================================
RCS file: /home/cvs/xml-xalan/c/src/XalanExtensions/FunctionHasSameNodes.cpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- FunctionHasSameNodes.cpp 2001/09/20 18:06:05 1.4
+++ FunctionHasSameNodes.cpp 2001/09/26 20:53:11 1.5
@@ -88,7 +88,7 @@
const NodeRefListBase& nodeset1 = arg1->nodeset();
const NodeRefListBase& nodeset2 = arg2->nodeset();
- const unsigned int theLength = nodeset1.getLength();
+ const NodeRefListBase::size_type theLength =
nodeset1.getLength();
bool fResult = true;
@@ -98,7 +98,7 @@
}
else
{
- for (unsigned int i = 0; i < theLength && fResult == true; ++i)
+ for (NodeRefListBase::size_type i = 0; i < theLength && fResult
== true; ++i)
{
XalanNode* const theNode = nodeset1.item(i);
assert(theNode != 0);
1.5 +2 -2 xml-xalan/c/src/XalanExtensions/FunctionIntersection.cpp
Index: FunctionIntersection.cpp
===================================================================
RCS file: /home/cvs/xml-xalan/c/src/XalanExtensions/FunctionIntersection.cpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- FunctionIntersection.cpp 2001/09/20 18:06:05 1.4
+++ FunctionIntersection.cpp 2001/09/26 20:53:11 1.5
@@ -92,9 +92,9 @@
BorrowReturnMutableNodeRefList theResult(executionContext);
- const unsigned int theLength = nodeset1.getLength();
+ const NodeRefListBase::size_type theLength =
nodeset1.getLength();
- for (unsigned int i = 0; i < theLength; ++i)
+ for (NodeRefListBase::size_type i = 0; i < theLength; ++i)
{
XalanNode* const theNode = nodeset1.item(i);
assert(theNode != 0);
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]