dbertoni 02/02/27 19:07:57
Modified: c/src/PlatformSupport StdBinInputStream.cpp
Log:
Fixed variable declaration.
Revision Changes Path
1.12 +5 -1 xml-xalan/c/src/PlatformSupport/StdBinInputStream.cpp
Index: StdBinInputStream.cpp
===================================================================
RCS file: /home/cvs/xml-xalan/c/src/PlatformSupport/StdBinInputStream.cpp,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- StdBinInputStream.cpp 7 Feb 2002 01:38:49 -0000 1.11
+++ StdBinInputStream.cpp 28 Feb 2002 03:07:57 -0000 1.12
@@ -63,6 +63,8 @@
+#include <cassert>
+
#if !defined(XALAN_OLD_STREAMS)
#if defined(XALAN_OLD_STREAM_HEADERS)
#include <iostream.h>
@@ -104,13 +106,15 @@
XMLByte* const toFill,
const unsigned int maxToRead)
{
+ assert(sizeof(XMLByte) == sizeof(char));
+
if (!m_stream)
{
return 0;
}
else
{
- unsigned long i = 0;
+ unsigned int i = 0;
while(i < maxToRead)
{
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]