From 6deef76382c22e736aac2830a431fb8303b90307 Mon Sep 17 00:00:00 2001 From: AJFISH Date: Tue, 9 Oct 2007 19:38:25 +0000 Subject: Fixed NT32 Build break. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4064 6f19259b-4bc3-4df7-8a09-765794883524 --- IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciLib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciLib.c b/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciLib.c index 050da68..c7423f6 100644 --- a/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciLib.c +++ b/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciLib.c @@ -2115,7 +2115,7 @@ ReadConfigData ( Stride = 1 << AccessWidth; AccessAddress += Stride; - if (AccessAddress >= (Address + (1ULL << Width))) { + if (AccessAddress >= (Address + LShiftU64 (1ULL, (UINTN)Width))) { // // if all datas have been read, exist // @@ -2382,7 +2382,7 @@ WriteConfigData ( Stride = 1 << AccessWidth; AccessAddress += Stride; - if (AccessAddress >= (Address + (1ULL << Width))) { + if (AccessAddress >= (Address + LShiftU64 (1ULL, (UINTN)Width))) { // // if all datas have been written, exist // -- cgit v1.1