You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by db...@locus.apache.org on 2000/06/08 20:33:13 UTC

cvs commit: xml-xalan/c/src/XSLT FunctionDocument.cpp

dbertoni    00/06/08 11:33:13

  Modified:    c/src/XSLT FunctionDocument.cpp
  Log:
  Fixed signed/unsigned mismatch.
  
  Revision  Changes    Path
  1.9       +2 -2      xml-xalan/c/src/XSLT/FunctionDocument.cpp
  
  Index: FunctionDocument.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/XSLT/FunctionDocument.cpp,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- FunctionDocument.cpp	2000/05/29 22:49:00	1.8
  +++ FunctionDocument.cpp	2000/06/08 18:33:13	1.9
  @@ -200,11 +200,11 @@
   
   		MutableNodeRefList		mnl(executionContext.createMutableNodeRefList());
   
  -		const int				nRefs = XObject::eTypeNodeSet == arg->getType() ?
  +		const unsigned int		nRefs = XObject::eTypeNodeSet == arg->getType() ?
   													arg->nodeset().getLength()
   													: 1;
   
  -		for(int i = 0; i < nRefs; i++)
  +		for(unsigned int i = 0; i < nRefs; i++)
   		{
   			assert(XObject::eTypeNodeSet != arg->getType() ||
   								arg->nodeset().item(i) != 0);