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...@apache.org on 2001/09/26 23:55:34 UTC

cvs commit: xml-xalan/c/src/PlatformSupport XalanToXercesTranscoderWrapper.cpp

dbertoni    01/09/26 14:55:34

  Modified:    c/src/PlatformSupport XalanToXercesTranscoderWrapper.cpp
  Log:
  32/64-bit fixes.
  
  Revision  Changes    Path
  1.5       +4 -1      xml-xalan/c/src/PlatformSupport/XalanToXercesTranscoderWrapper.cpp
  
  Index: XalanToXercesTranscoderWrapper.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/PlatformSupport/XalanToXercesTranscoderWrapper.cpp,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- XalanToXercesTranscoderWrapper.cpp	2001/09/25 21:12:51	1.4
  +++ XalanToXercesTranscoderWrapper.cpp	2001/09/26 21:55:34	1.5
  @@ -140,6 +140,8 @@
   
   	try
   	{
  +		XercesSizeType	theXercesSourceCharsTranscoded = 0;
  +
   		assert(XercesSizeType(theSourceCount) == theSourceCount);
   		assert(XercesSizeType(theTargetSize) == theTargetSize);
   
  @@ -149,9 +151,10 @@
   			XercesSizeType(theSourceCount),
   			theTarget,
   			XercesSizeType(theTargetSize),
  -			theSourceCharsTranscoded,
  +			theXercesSourceCharsTranscoded,
   			theCharSizes);
   
  +		theSourceCharsTranscoded = theXercesSourceCharsTranscoded;
   		theTargetBytesUsed = theXercesTargetBytesUsed;
   	}
   	catch(const XMLException&)
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org