summaryrefslogtreecommitdiff
path: root/IntelFrameworkModulePkg
diff options
context:
space:
mode:
authorjwang36 <jwang36@6f19259b-4bc3-4df7-8a09-765794883524>2007-10-10 07:04:47 +0000
committerjwang36 <jwang36@6f19259b-4bc3-4df7-8a09-765794883524>2007-10-10 07:04:47 +0000
commit23bd66f4250b9d88a625e2d42b535b81a3b1f3c0 (patch)
treeccb427efa39d897b97d3b567a428742a98ad78c9 /IntelFrameworkModulePkg
parentdb01f13e00e74bccde63152ef75a82f6bb8e1e81 (diff)
downloadedk2-platforms-23bd66f4250b9d88a625e2d42b535b81a3b1f3c0.tar.xz
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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciLib.c b/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciLib.c
index c7423f6f79..d8cec4aaae 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))) {
//