dbertoni    01/09/26 15:10:30

  Modified:    c/src/XMLSupport FormatterToXML.cpp
  Log:
  32/64-bit fixes.
  
  Revision  Changes    Path
  1.53      +18 -18    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.52
  retrieving revision 1.53
  diff -u -r1.52 -r1.53
  --- FormatterToXML.cpp        2001/09/25 21:13:17     1.52
  +++ FormatterToXML.cpp        2001/09/26 22:10:30     1.53
  @@ -618,13 +618,13 @@
   
   void
   FormatterToXML::accumNameArray(
  -                     const XalanDOMChar      chars[],
  -                     unsigned int            start,
  -                     unsigned int            length)
  +                     const XalanDOMChar                      chars[],
  +                     XalanDOMString::size_type       start,
  +                     XalanDOMString::size_type       length)
   {
  -     const DOMCharBufferType::size_type      n = start + length;
  +     const XalanDOMString::size_type         n = start + length;
   
  -     for(DOMCharBufferType::size_type i = start; i < n; ++i)
  +     for(XalanDOMString::size_type i = start; i < n; ++i)
        {
                accumName(chars[i]);
        }
  @@ -634,13 +634,13 @@
   
   void
   FormatterToXML::accumContentArray(
  -                     const XalanDOMChar      chars[],
  -                     unsigned int            start,
  -                     unsigned int            length)
  +                     const XalanDOMChar                      chars[],
  +                     XalanDOMString::size_type       start,
  +                     XalanDOMString::size_type       length)
   {
  -     const DOMCharBufferType::size_type      n = start + length;
  +     const XalanDOMString::size_type         n = start + length;
   
  -     for(DOMCharBufferType::size_type i = start; i < n; ++i)
  +     for(XalanDOMString::size_type i = start; i < n; ++i)
        {
                accumContent(chars[i]);
        }
  @@ -650,13 +650,13 @@
   
   void
   FormatterToXML::accumArrayUTF(
  -                     const XalanDOMChar      chars[],
  -                     unsigned int            start,
  -                     unsigned int            length)
  +                     const XalanDOMChar                      chars[],
  +                     XalanDOMString::size_type       start,
  +                     XalanDOMString::size_type       length)
   {
  -     const DOMCharBufferType::size_type      n = start + length;
  +     const XalanDOMString::size_type         n = start + length;
   
  -     for(DOMCharBufferType::size_type i = start; i < n; ++i)
  +     for(XalanDOMString::size_type i = start; i < n; ++i)
        {
                accumCharUTF(chars[i]);
        }
  @@ -666,9 +666,9 @@
   
   void
   FormatterToXML::accumArrayUTFDirect(
  -                     const XalanDOMChar      chars[],
  -                     unsigned int            start,
  -                     unsigned int            length)
  +                     const XalanDOMChar                      chars[],
  +                     XalanDOMString::size_type       start,
  +                     XalanDOMString::size_type       length)
   {
        assert(m_maxCharacter >= 65535);
        assert(m_stream != 0);
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to