X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=DuetPkg%2FPciRootBridgeNoEnumerationDxe%2FX64%2FPcatIo.c;fp=DuetPkg%2FPciRootBridgeNoEnumerationDxe%2FX64%2FPcatIo.c;h=2287d1142c423f0a85a8fdabc1bdb030f7b34289;hp=c0607b471632deb15b74ffa815447d6a5dbe781b;hb=99032c4556960f87bc57135f02daab526202f19c;hpb=b0e441b554c716bfa684439f708d751843e7f585 diff --git a/DuetPkg/PciRootBridgeNoEnumerationDxe/X64/PcatIo.c b/DuetPkg/PciRootBridgeNoEnumerationDxe/X64/PcatIo.c index c0607b4716..2287d1142c 100644 --- a/DuetPkg/PciRootBridgeNoEnumerationDxe/X64/PcatIo.c +++ b/DuetPkg/PciRootBridgeNoEnumerationDxe/X64/PcatIo.c @@ -630,7 +630,7 @@ ScanPciRootBridgeForRoms( // // Find Memory Descriptors that are less than 4GB, so the PPB Memory Window can be used for downstream devices // - if (Descriptors->AddrRangeMax < 0x100000000) { + if (Descriptors->AddrRangeMax < 0x100000000ULL) { // // Find the largest Non-Prefetchable Memory Descriptor that is less than 4GB //