kernel/eka/drivers/ecomm/d_comm.cpp
branchGCC_SURGE
changeset 167 b41fc9c39ca7
parent 0 a41df078684a
--- a/kernel/eka/drivers/ecomm/d_comm.cpp	Fri Jun 18 18:06:39 2010 +0100
+++ b/kernel/eka/drivers/ecomm/d_comm.cpp	Sat Jun 19 07:49:33 2010 +0100
@@ -933,7 +933,7 @@
 			{
 			// Replace bad character
 			if (iConfig.iParityError==KConfigParityErrorReplaceChar)
-				c = c & ~(0xff|KReceiveIsrParityError) | iConfig.iParityErrorChar;
+				c = (c & ~(0xff|KReceiveIsrParityError)) | iConfig.iParityErrorChar;
 			// Ignore parity error
 			if (iConfig.iParityError==KConfigParityErrorIgnore)
 				c = c & ~KReceiveIsrParityError;