]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Tools/Conf/Migration/R8Lib.c
Make the code ICC clean.
[mirror_edk2.git] / Tools / Conf / Migration / R8Lib.c
index 9ee9d7266790487b0f758dd3f685adb921b2cb39..6ef5f9100e571a13cb85090f445dec5a56087b35 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