From d074a8e1a25a05cb77d9185e0e4e5a5363c80871 Mon Sep 17 00:00:00 2001 From: yshang1 Date: Wed, 19 Sep 2007 06:15:43 +0000 Subject: Update Mde/MdeModulePkg to support ICC build for IA32/X64. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3892 6f19259b-4bc3-4df7-8a09-765794883524 --- MdeModulePkg/Bus/Pci/EhciDxe/UsbHcMem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'MdeModulePkg/Bus/Pci/EhciDxe') diff --git a/MdeModulePkg/Bus/Pci/EhciDxe/UsbHcMem.c b/MdeModulePkg/Bus/Pci/EhciDxe/UsbHcMem.c index 22556e7ef8..c1b0f49b31 100644 --- a/MdeModulePkg/Bus/Pci/EhciDxe/UsbHcMem.c +++ b/MdeModulePkg/Bus/Pci/EhciDxe/UsbHcMem.c @@ -233,7 +233,7 @@ UsbHcAllocMemFromBlock ( for (Count = 0; Count < Units; Count++) { ASSERT (!USB_HC_BIT_IS_SET (Block->Bits[Byte], Bit)); - Block->Bits[Byte] |= USB_HC_BIT (Bit); + Block->Bits[Byte] = (UINT8) (Block->Bits[Byte] | USB_HC_BIT (Bit)); NEXT_BIT (Byte, Bit); } -- cgit v1.2.3