Make the code ICC clean.
authorqwang12 <qwang12@de2fecce-e211-0410-80a6-f3fac2684e05>
Tue, 8 Jan 2008 11:02:54 +0000 (11:02 +0000)
committerqwang12 <qwang12@de2fecce-e211-0410-80a6-f3fac2684e05>
Tue, 8 Jan 2008 11:02:54 +0000 (11:02 +0000)
git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@4527 de2fecce-e211-0410-80a6-f3fac2684e05

edk2/Tools/Conf/Migration/R8Lib.c

index 9ee9d72..6ef5f91 100644 (file)
@@ -360,7 +360,7 @@ R8_HexStringToBuf (
     } else {\r
       Byte = Buf[Idx / 2];\r
       Byte &= 0x0F;\r
-      Byte |= Digit << 4;\r
+      Byte = (UINT8) (Byte | Digit << 4);
     }\r
 \r
     Buf[Idx / 2] = Byte;\r