diff options
author | jwang36 <jwang36@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-10-10 07:04:47 +0000 |
---|---|---|
committer | jwang36 <jwang36@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-10-10 07:04:47 +0000 |
commit | 23bd66f4250b9d88a625e2d42b535b81a3b1f3c0 (patch) | |
tree | ccb427efa39d897b97d3b567a428742a98ad78c9 /IntelFrameworkModulePkg | |
parent | db01f13e00e74bccde63152ef75a82f6bb8e1e81 (diff) | |
download | edk2-23bd66f4250b9d88a625e2d42b535b81a3b1f3c0.zip edk2-23bd66f4250b9d88a625e2d42b535b81a3b1f3c0.tar.gz edk2-23bd66f4250b9d88a625e2d42b535b81a3b1f3c0.tar.bz2 |
Changed to pass the build with Visual Studio 2005
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4076 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 c7423f6..d8cec4a 100644 --- a/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciLib.c +++ b/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciLib.c @@ -2113,7 +2113,7 @@ ReadConfigData ( return Status;
}
- Stride = 1 << AccessWidth;
+ Stride = (UINTN)1 << AccessWidth;
AccessAddress += Stride;
if (AccessAddress >= (Address + LShiftU64 (1ULL, (UINTN)Width))) {
//
@@ -2380,7 +2380,7 @@ WriteConfigData ( Data = RShiftU64 (Data, ((1 << AccessWidth) * 8));
- Stride = 1 << AccessWidth;
+ Stride = (UINTN)1 << AccessWidth;
AccessAddress += Stride;
if (AccessAddress >= (Address + LShiftU64 (1ULL, (UINTN)Width))) {
//
|