dbertoni    01/08/05 18:33:48

  Modified:    c/src/PlatformSupport DOMStringHelper.hpp
  Log:
  Fixed some unsigned/unsigned long issues.
  
  Revision  Changes    Path
  1.47      +6 -6      xml-xalan/c/src/PlatformSupport/DOMStringHelper.hpp
  
  Index: DOMStringHelper.hpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/PlatformSupport/DOMStringHelper.hpp,v
  retrieving revision 1.46
  retrieving revision 1.47
  diff -u -r1.46 -r1.47
  --- DOMStringHelper.hpp       2001/07/08 06:49:49     1.46
  +++ DOMStringHelper.hpp       2001/08/06 01:33:48     1.47
  @@ -322,7 +322,7 @@
                theBufferPointer++;
        }
   
  -     return theBufferPointer - theString;
  +     return unsigned(theBufferPointer - theString);
   }
   
   
  @@ -338,7 +338,7 @@
   {
        assert(theString != 0);
   
  -     return strlen(theString);
  +     return unsigned(strlen(theString));
   }
   
   
  @@ -380,7 +380,7 @@
                ++thePointer;
        }
   
  -     return thePointer - theString;
  +     return unsigned(thePointer - theString);
   }
   
   
  @@ -411,7 +411,7 @@
                ++thePointer;
        }
   
  -     return thePointer - theString;
  +     return unsigned(thePointer - theString);
   }
   
   
  @@ -2577,7 +2577,7 @@
        {
                const XalanDOMChar*             theRawBuffer = c_wstr(theKey);
   
  -             unsigned long           theHashValue = 0L; 
  +             result_type             theHashValue = 0; 
   
                if (theRawBuffer != 0)
                {
  @@ -2589,7 +2589,7 @@
                        }
                }
   
  -             return result_type(theHashValue++);
  +             return theHashValue++;
        }
   };
   
  
  
  

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

Reply via email to