From 23bd66f4250b9d88a625e2d42b535b81a3b1f3c0 Mon Sep 17 00:00:00 2001 From: jwang36 Date: Wed, 10 Oct 2007 07:04:47 +0000 Subject: 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 --- 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 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))) { // -- cgit v1.2.3