diff --git a/OvmfPkg/Library/PciHostBridgeLib/XenSupport.c b/OvmfPkg/Library/PciHostBridgeLib/XenSupport.c index 21896637e0..31c63ae19e 100644 --- a/OvmfPkg/Library/PciHostBridgeLib/XenSupport.c +++ b/OvmfPkg/Library/PciHostBridgeLib/XenSupport.c @@ -30,7 +30,7 @@ STATIC VOID PcatPciRootBridgeBarExisted ( - IN UINT64 Address, + IN UINTN Address, OUT UINT32 *OriginalValue, OUT UINT32 *Value ) @@ -180,7 +180,7 @@ ScanForRootBridges ( UINT8 Device; UINT8 Function; UINTN NumberOfDevices; - UINT64 Address; + UINTN Address; PCI_TYPE01 Pci; UINT64 Attributes; UINT64 Base;