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/12/15 20:33:50 UTC

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

dbertoni    00/12/15 11:33:49

  Modified:    c/src/XSLT FunctionGenerateID.cpp
  Log:
  Use hex numbers for generating IDs.
  
  Revision  Changes    Path
  1.12      +3 -3      xml-xalan/c/src/XSLT/FunctionGenerateID.cpp
  
  Index: FunctionGenerateID.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/XSLT/FunctionGenerateID.cpp,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- FunctionGenerateID.cpp	2000/12/06 21:19:32	1.11
  +++ FunctionGenerateID.cpp	2000/12/15 19:33:49	1.12
  @@ -103,14 +103,14 @@
   		// We're assuming here that each nodes has an implementation with a 
   		// unique address that we can convert into a string
   #if defined(XALAN_OLD_STYLE_CASTS)
  -		UnsignedLongToDOMString((unsigned long)theNode, theResult);
  +		UnsignedLongToHexDOMString((unsigned long)theNode, theResult);
   #else
  -		UnsignedLongToDOMString(reinterpret_cast<unsigned long>(theNode), theResult);
  +		UnsignedLongToHexDOMString(reinterpret_cast<unsigned long>(theNode), theResult);
   #endif
   	}
   	else
   	{
  -		UnsignedLongToDOMString(theIndex, theResult);
  +		UnsignedLongToHexDOMString(theIndex, theResult);
   	}
   }