dbertoni    01/09/26 14:44:05

  Modified:    c/src/PlatformSupport DoubleSupport.cpp
  Log:
  32/64-bit fixes.
  
  Revision  Changes    Path
  1.29      +7 -7      xml-xalan/c/src/PlatformSupport/DoubleSupport.cpp
  
  Index: DoubleSupport.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/PlatformSupport/DoubleSupport.cpp,v
  retrieving revision 1.28
  retrieving revision 1.29
  diff -u -r1.28 -r1.29
  --- DoubleSupport.cpp 2001/09/25 21:12:51     1.28
  +++ DoubleSupport.cpp 2001/09/26 21:44:05     1.29
  @@ -385,8 +385,8 @@
   
   inline void
   consumeWhitespace(
  -                     const XalanDOMChar*&    theString,
  -                     unsigned int&                   theLength)
  +                     const XalanDOMChar*&            theString,
  +                     XalanDOMString::size_type&      theLength)
   {
        while(*theString != 0 &&
                  isXMLWhitespace(*theString))
  @@ -528,11 +528,11 @@
   #if defined(XALAN_NON_ASCII_PLATFORM)
   void
   translateWideString(
  -                     const XalanDOMChar*             theWideString,
  -                     char*                                   theNarrowString,
  -                     unsigned int                    theStringLength)
  +                     const XalanDOMChar*                     theWideString,
  +                     char*                                           
theNarrowString,
  +                     XalanDOMString::size_type       theStringLength)
   {
  -     for(unsigned int i = 0; i < theStringLength; ++i)
  +     for(XalanDOMString::size_type i = 0; i < theStringLength; ++i)
        {
                switch(theWideString[i])
                {
  @@ -628,7 +628,7 @@
   #if defined(XALAN_NON_ASCII_PLATFORM)
                        translateWideString(theString, theBuffer, theLength);
   #else
  -                     for(unsigned int i = 0; i < theLength; ++i)
  +                     for(XalanDOMString::size_type i = 0; i < theLength; ++i)
                        {
                                theBuffer[i] = char(theString[i]);
                        }
  
  
  

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

Reply via email to