diff options
author | Hao Wu <hao.a.wu@intel.com> | 2017-06-08 16:07:31 +0800 |
---|---|---|
committer | Hao Wu <hao.a.wu@intel.com> | 2017-06-09 09:11:17 +0800 |
commit | 8df95dd04f467c5626850b34dec564dec918c47d (patch) | |
tree | 782c8aeea7af6b36aecddd28403899b9fc8d58ec | |
parent | 4275f38507a4a44260555495dfb6da1d8a307307 (diff) | |
download | edk2-8df95dd04f467c5626850b34dec564dec918c47d.zip edk2-8df95dd04f467c5626850b34dec564dec918c47d.tar.gz edk2-8df95dd04f467c5626850b34dec564dec918c47d.tar.bz2 |
MdeModulePkg/PciHostBridgeDxe: Make bitwise operands of the same size
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Hao Wu <hao.a.wu@intel.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
-rw-r--r-- | MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciRootBridgeIo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciRootBridgeIo.c b/MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciRootBridgeIo.c index a0e7e5b..8e4f032 100644 --- a/MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciRootBridgeIo.c +++ b/MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciRootBridgeIo.c @@ -1349,7 +1349,7 @@ RootBridgeIoAllocateBuffer ( //
// Clear DUAL_ADDRESS_CYCLE
//
- Attributes &= ~EFI_PCI_ATTRIBUTE_DUAL_ADDRESS_CYCLE;
+ Attributes &= ~((UINT64) EFI_PCI_ATTRIBUTE_DUAL_ADDRESS_CYCLE);
}
Status = mIoMmuProtocol->AllocateBuffer (
mIoMmuProtocol,
|