Revision: 19323
          http://sourceforge.net/p/edk2/code/19323
Author:   vanjeff
Date:     2015-12-17 15:14:25 +0000 (Thu, 17 Dec 2015)
Log Message:
-----------
MdeModulePkg/PciSioSerialDxe:bitwise operation have same width operands

Operands in a bitwise operation have different size. Update code to fix it.

(Sync patch r19309 from main trunk.)

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Feng Tian <feng.t...@intel.com>
Reviewed-by: Qiu Shumin <shumin....@intel.com>

Revision Links:
--------------
    http://sourceforge.net/p/edk2/code/19309

Modified Paths:
--------------
    branches/UDK2015/MdeModulePkg/Bus/Pci/PciSioSerialDxe/Serial.c

Modified: branches/UDK2015/MdeModulePkg/Bus/Pci/PciSioSerialDxe/Serial.c
===================================================================
--- branches/UDK2015/MdeModulePkg/Bus/Pci/PciSioSerialDxe/Serial.c      
2015-12-17 15:02:17 UTC (rev 19322)
+++ branches/UDK2015/MdeModulePkg/Bus/Pci/PciSioSerialDxe/Serial.c      
2015-12-17 15:14:25 UTC (rev 19323)
@@ -982,7 +982,7 @@
             &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,


------------------------------------------------------------------------------
_______________________________________________
edk2-commits mailing list
edk2-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to