dbertoni 01/09/26 15:12:54
Modified: c/src/XMLSupport FormatterToXML.cpp
Log:
32/64-bit fixes.
Revision Changes Path
1.54 +9 -9 xml-xalan/c/src/XMLSupport/FormatterToXML.cpp
Index: FormatterToXML.cpp
===================================================================
RCS file: /home/cvs/xml-xalan/c/src/XMLSupport/FormatterToXML.cpp,v
retrieving revision 1.53
retrieving revision 1.54
diff -u -r1.53 -r1.54
--- FormatterToXML.cpp 2001/09/26 22:10:30 1.53
+++ FormatterToXML.cpp 2001/09/26 22:12:54 1.54
@@ -1212,14 +1212,14 @@
void
FormatterToXML::writeNormalizedChars(
- const XalanDOMChar ch[],
- unsigned int start,
- unsigned int length,
- bool isCData)
+ const XalanDOMChar ch[],
+ XalanDOMString::size_type start,
+ XalanDOMString::size_type length,
+ bool isCData)
{
- unsigned int end = start + length;
+ XalanDOMString::size_type end = start + length;
- for(unsigned int i = start; i < end; i++)
+ for(XalanDOMString::size_type i = start; i < end; i++)
{
const XalanDOMChar c = ch[i];
@@ -1632,14 +1632,14 @@
void
FormatterToXML::accumNormalizedPIData(
- const XalanDOMChar* theData,
- unsigned int theLength)
+ const XalanDOMChar* theData,
+ XalanDOMString::size_type theLength)
{
// If there are any "?>" pairs in the string,
// we have to normalize them to "? >", so they
// won't be confused with the end tag.
- for (unsigned int i = 0; i < theLength; ++i)
+ for (XalanDOMString::size_type i = 0; i < theLength; ++i)
{
const XalanDOMChar theChar = theData[i];
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]