summaryrefslogtreecommitdiff
path: root/PcAtChipsetPkg/IsaAcpiDxe
diff options
context:
space:
mode:
authorRuiyu Ni <ruiyu.ni@intel.com>2014-08-13 03:28:35 +0000
committerniruiyu <niruiyu@6f19259b-4bc3-4df7-8a09-765794883524>2014-08-13 03:28:35 +0000
commitdf6bd1b65c15cb03a6aca59e477611d91608181c (patch)
treee98d351da18a8fceb2525c2f079b625339249722 /PcAtChipsetPkg/IsaAcpiDxe
parent424d84556d4dfe3b05af00c06fd5d3480dccb111 (diff)
downloadedk2-platforms-df6bd1b65c15cb03a6aca59e477611d91608181c.tar.xz
Add UINT64 type cast when AND/OR with UINT64 Supports.
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com> Reviewed-by: Eric Dong <eric.dong@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15793 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'PcAtChipsetPkg/IsaAcpiDxe')
-rw-r--r--PcAtChipsetPkg/IsaAcpiDxe/PcatIsaAcpi.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/PcAtChipsetPkg/IsaAcpiDxe/PcatIsaAcpi.c b/PcAtChipsetPkg/IsaAcpiDxe/PcatIsaAcpi.c
index 55fefd4ca2..2b5ba6c108 100644
--- a/PcAtChipsetPkg/IsaAcpiDxe/PcatIsaAcpi.c
+++ b/PcAtChipsetPkg/IsaAcpiDxe/PcatIsaAcpi.c
@@ -1,7 +1,7 @@
/** @file
EFI PCAT ISA ACPI Driver for a Generic PC Platform
-Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>
+Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@@ -206,7 +206,7 @@ PcatIsaAcpiDriverBindingStart (
goto Done;
}
- Supports &= (EFI_PCI_IO_ATTRIBUTE_ISA_IO | EFI_PCI_IO_ATTRIBUTE_ISA_IO_16);
+ Supports &= (UINT64) (EFI_PCI_IO_ATTRIBUTE_ISA_IO | EFI_PCI_IO_ATTRIBUTE_ISA_IO_16);
if (Supports == 0 || Supports == (EFI_PCI_IO_ATTRIBUTE_ISA_IO | EFI_PCI_IO_ATTRIBUTE_ISA_IO_16)) {
Status = EFI_UNSUPPORTED;
goto Done;
@@ -356,7 +356,7 @@ PcatIsaAcpiDriverBindingStop (
return Status;
}
- Supports &= (EFI_PCI_IO_ATTRIBUTE_ISA_IO | EFI_PCI_IO_ATTRIBUTE_ISA_IO_16);
+ Supports &= (UINT64) (EFI_PCI_IO_ATTRIBUTE_ISA_IO | EFI_PCI_IO_ATTRIBUTE_ISA_IO_16);
PcatIsaAcpiDev->PciIo->Attributes (
PcatIsaAcpiDev->PciIo,