From 0c6bbb63f98b5e62f60511cac1cc12c070888191 Mon Sep 17 00:00:00 2001 From: jwang36 Date: Tue, 9 Oct 2007 09:30:40 +0000 Subject: [PATCH] Cleaned the code for passing Visual Studio 2005 build git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4061 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 0812bf0363..050da68c66 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 + (1 << Width))) { + if (AccessAddress >= (Address + (1ULL << Width))) { // // if all datas have been read, exist // @@ -2382,7 +2382,7 @@ WriteConfigData ( Stride = 1 << AccessWidth; AccessAddress += Stride; - if (AccessAddress >= (Address + (1 << Width))) { + if (AccessAddress >= (Address + (1ULL << Width))) { // // if all datas have been written, exist // -- 2.39.2