You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by db...@locus.apache.org on 2000/11/20 22:31:30 UTC

cvs commit: xml-xalan/c/src/PlatformSupport DOMStringHelper.hpp

dbertoni    00/11/20 13:31:27

  Modified:    c/src/PlatformSupport DOMStringHelper.hpp
  Log:
  Shut up GCC warning...
  
  Revision  Changes    Path
  1.34      +3 -3      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.33
  retrieving revision 1.34
  diff -u -r1.33 -r1.34
  --- DOMStringHelper.hpp	2000/11/20 20:04:25	1.33
  +++ DOMStringHelper.hpp	2000/11/20 21:31:25	1.34
  @@ -1927,7 +1927,7 @@
   assign(
   			XalanDOMString&			theString,
   			const XalanDOMChar*		theStringToAssign,
  -			unsigned int			theStringToAssignLength = -1)
  +			unsigned int			theStringToAssignLength = unsigned(-1))
   {
   #if defined(XALAN_USE_CUSTOM_STRING) || defined(XALAN_USE_STD_STRING)
   	if (theStringToAssignLength == unsigned(-1))
  @@ -1966,7 +1966,7 @@
   append(
   			XalanDOMString&			theString,
   			const XalanDOMChar*		theStringToAppend,
  -			unsigned int			theStringToAppendLength = -1)
  +			unsigned int			theStringToAppendLength = unsigned(-1))
   {
   	assert(theStringToAppend != 0);
   
  @@ -2007,7 +2007,7 @@
   append(
   			XalanDOMString&		theString,
   			const char*			theStringToAppend,
  -			unsigned int		theStringToAppendLength = -1)
  +			unsigned int		theStringToAppendLength = unsigned(-1))
   {
   #if defined(XALAN_USE_CUSTOM_STRING) || defined(XALAN_USE_STD_STRING)
   		theString.append(TranscodeFromLocalCodePage(theStringToAppend, theStringToAppendLength));