]> git.proxmox.com Git - mirror_edk2.git/blobdiff - DuetPkg/PciRootBridgeNoEnumerationDxe/Ia32/PcatIo.c
Pass ICC building.
[mirror_edk2.git] / DuetPkg / PciRootBridgeNoEnumerationDxe / Ia32 / PcatIo.c
index 9edbc698bc76833f4a130e82d9abb04b761c5125..dc4530aa6837b37f98fb12eb0908408687fc5da5 100644 (file)
@@ -555,7 +555,7 @@ SaveCommandRegister (
   //\r
   // Clear the memory enable bit\r
   //\r
-  Command = Context->CommandRegisterBuffer[Index] & (~0x02);\r
+  Command = (UINT16) (Context->CommandRegisterBuffer[Index] & (~0x02));\r
 \r
   IoDev->Pci.Write (IoDev, EfiPciWidthUint16, Address, 1, &Command);\r
 }\r