X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=MdeModulePkg%2FBus%2FPci%2FPciSioSerialDxe%2FSerial.c;fp=MdeModulePkg%2FBus%2FPci%2FPciSioSerialDxe%2FSerial.c;h=aeafee247c9b11c2755b16c161043112739a3019;hp=e8cefecd8d2d810dc740565ef1d659d4f53d5291;hb=d14198b3397d85da37d8a9f81cf233ce08c7758a;hpb=12f5ff97f6c1f87370213a00d0b36e8208beacf9 diff --git a/MdeModulePkg/Bus/Pci/PciSioSerialDxe/Serial.c b/MdeModulePkg/Bus/Pci/PciSioSerialDxe/Serial.c index e8cefecd8d..aeafee247c 100644 --- a/MdeModulePkg/Bus/Pci/PciSioSerialDxe/Serial.c +++ b/MdeModulePkg/Bus/Pci/PciSioSerialDxe/Serial.c @@ -982,7 +982,7 @@ SerialControllerDriverStart ( &Supports ); if (!EFI_ERROR (Status)) { - Supports &= EFI_PCI_IO_ATTRIBUTE_IO | EFI_PCI_IO_ATTRIBUTE_MEMORY; + Supports &= (UINT64)(EFI_PCI_IO_ATTRIBUTE_IO | EFI_PCI_IO_ATTRIBUTE_MEMORY); Status = ParentIo.PciIo->Attributes ( ParentIo.PciIo, EfiPciIoAttributeOperationEnable,