Index: XalanEXSLTString.cpp
===================================================================
RCS file: /home/cvspublic/xml-xalan/c/src/xalanc/XalanEXSLT/XalanEXSLTString.cpp,v
retrieving revision 1.6
diff -u -r1.6 XalanEXSLTString.cpp
--- XalanEXSLTString.cpp	6 Jan 2004 02:41:42 -0000	1.6
+++ XalanEXSLTString.cpp	21 Apr 2004 09:44:50 -0000
@@ -547,7 +547,7 @@
 											    theString[i+1],theString[i+2]);
 			i+=2;
 
-			if (byte2 & 0x80 == 0) 
+			if ((byte2 & 0x80) == 0) 
 			{
 				// invalid byte, bypass rest of this sequence
 				i+= (numOctets - 2) * s_octetSize;
@@ -564,7 +564,7 @@
 											    theString[i+1],theString[i+2]);
 			i+=2;
 			
-			if (byte2 & 0x80 == 0 || byte3 & 0x80 == 0)
+			if ((byte2 & 0x80) == 0 || (byte3 & 0x80) == 0)
 			{
 				// invalid byte, bypass rest of this sequence
 				i+= (numOctets - 3) * s_octetSize;
@@ -584,7 +584,7 @@
 											    theString[i+1],theString[i+2]);
 			i+=2;
 	
-			if (byte2 & 0x80 == 0 || byte3 & 0x80 == 0 || byte4 & 0x80 == 0)
+			if ((byte2 & 0x80) == 0 || (byte3 & 0x80) == 0 || (byte4 & 0x80) == 0)
 			{
 				// invalid byte, bypass rest of this sequence
 				i+= (numOctets - 4) * s_octetSize;
