diff options
author | jwang36 <jwang36@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-10-09 09:30:40 +0000 |
---|---|---|
committer | jwang36 <jwang36@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-10-09 09:30:40 +0000 |
commit | 0c6bbb63f98b5e62f60511cac1cc12c070888191 (patch) | |
tree | 5dae7bc5d9356a640a686f439881504eef21364d | |
parent | 61296d0d5ea7f8840159e1d7d03f04e519587faa (diff) | |
download | edk2-platforms-0c6bbb63f98b5e62f60511cac1cc12c070888191.tar.xz |
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
-rw-r--r-- | IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciLib.c | 4 |
1 files 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
//
|