From 2b7d16cf8c416b011d9e133cca7e59823ac2f4ad Mon Sep 17 00:00:00 2001 From: klu2 Date: Thu, 27 Nov 2008 09:11:41 +0000 Subject: Pass ICC building. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6761 6f19259b-4bc3-4df7-8a09-765794883524 --- DuetPkg/PciRootBridgeNoEnumerationDxe/Ia32/PcatIo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'DuetPkg/PciRootBridgeNoEnumerationDxe/Ia32') diff --git a/DuetPkg/PciRootBridgeNoEnumerationDxe/Ia32/PcatIo.c b/DuetPkg/PciRootBridgeNoEnumerationDxe/Ia32/PcatIo.c index 9edbc698bc..dc4530aa68 100644 --- a/DuetPkg/PciRootBridgeNoEnumerationDxe/Ia32/PcatIo.c +++ b/DuetPkg/PciRootBridgeNoEnumerationDxe/Ia32/PcatIo.c @@ -555,7 +555,7 @@ SaveCommandRegister ( // // Clear the memory enable bit // - Command = Context->CommandRegisterBuffer[Index] & (~0x02); + Command = (UINT16) (Context->CommandRegisterBuffer[Index] & (~0x02)); IoDev->Pci.Write (IoDev, EfiPciWidthUint16, Address, 1, &Command); } -- cgit v1.2.3