dbertoni 01/09/26 14:52:46
Modified: c/src/PlatformSupport XalanOutputStream.cpp
Log:
32/64-bit fixes.
Revision Changes Path
1.14 +4 -4 xml-xalan/c/src/PlatformSupport/XalanOutputStream.cpp
Index: XalanOutputStream.cpp
===================================================================
RCS file: /home/cvs/xml-xalan/c/src/PlatformSupport/XalanOutputStream.cpp,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- XalanOutputStream.cpp 2001/09/25 21:12:51 1.13
+++ XalanOutputStream.cpp 2001/09/26 21:52:46 1.14
@@ -153,8 +153,8 @@
// Keep track of the total bytes we've added to the
// destination vector, and the total bytes we've
// eaten from theBuffer.
- unsigned int theTotalBytesFilled = 0;
- unsigned int theTotalBytesEaten = 0;
+ size_t theTotalBytesFilled = 0;
+ size_t theTotalBytesEaten = 0;
// Keep track of the current position in the input buffer,
// and amount remaining in the buffer, since we may not be
@@ -176,8 +176,8 @@
// Resize the buffer...
theDestination.resize(theDestinationSize + 1);
- unsigned int
theSourceBytesEaten = 0;
- unsigned int
theTargetBytesEaten = 0;
+ size_t theSourceBytesEaten = 0;
+ size_t theTargetBytesEaten = 0;
XalanTranscodingServices::eCode theResult =
m_transcoder->transcode(
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]