diff options
author | AJFISH <AJFISH@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-10-09 19:38:25 +0000 |
---|---|---|
committer | AJFISH <AJFISH@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-10-09 19:38:25 +0000 |
commit | 6deef76382c22e736aac2830a431fb8303b90307 (patch) | |
tree | a35e5d8a01c4921d7b03d575d2879b782e45829b /IntelFrameworkModulePkg | |
parent | 042400ab9e4699002fee3c5d44583c477f0113ff (diff) | |
download | edk2-platforms-6deef76382c22e736aac2830a431fb8303b90307.tar.xz |
Fixed NT32 Build break.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4064 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'IntelFrameworkModulePkg')
-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 050da68c66..c7423f6f79 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
//
|