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...@apache.org on 2003/05/21 20:39:41 UTC

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

dbertoni    2003/05/21 11:39:40

  Modified:    c/src/PlatformSupport XalanXMLChar.hpp
  Log:
  added casts to enums.
  
  Revision  Changes    Path
  1.3       +7 -9      xml-xalan/c/src/PlatformSupport/XalanXMLChar.hpp
  
  Index: XalanXMLChar.hpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/PlatformSupport/XalanXMLChar.hpp,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- XalanXMLChar.hpp	20 Nov 2002 02:27:14 -0000	1.2
  +++ XalanXMLChar.hpp	21 May 2003 18:39:40 -0000	1.3
  @@ -93,46 +93,44 @@
   	static bool 
   	isBaseChar(XalanDOMChar c)
   	{
  -		return theUnicodeTable[c] == XML_BC;
  +		return theUnicodeTable[c] == char(XML_BC);
   	}
   
   	static bool 
   	isIdeographic(XalanDOMChar c)
   	{
  -		return theUnicodeTable[c] == XML_ID;
  +		return theUnicodeTable[c] == char(XML_ID);
   	}
   
   	static bool 
   	isExtender(XalanDOMChar c) 
   	{
  -		return theUnicodeTable[c] == XML_EX;
  +		return theUnicodeTable[c] == char(XML_EX);
   	}
   
   	static bool 
   	isDigit(XalanDOMChar c) 
   	{
  -		return theUnicodeTable[c] == XML_DI;
  +		return theUnicodeTable[c] == char(XML_DI);
   	}
   
   	static bool 
   	isCombiningChar(XalanDOMChar c) 
   	{
  -		return theUnicodeTable[c] == XML_CC;
  +		return theUnicodeTable[c] == char(XML_CC);
   	}
   
   	static bool 
   	isWhitespace(XalanDOMChar c) 
   	{
  -		return theUnicodeTable[c] == XML_WS;
  +		return theUnicodeTable[c] == char(XML_WS);
   	}
   
   	static bool 
   	isLetter(XalanDOMChar c) 
   	{
  -		return theUnicodeTable[c] == XML_BC || theUnicodeTable[c] == XML_ID;
  +		return theUnicodeTable[c] == char(XML_BC) || theUnicodeTable[c] == char(XML_ID);
   	}
  -
  -
   };
   
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org