]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Changed to pass the build with Visual Studio 2005
authorjwang36 <jwang36@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 10 Oct 2007 07:04:47 +0000 (07:04 +0000)
committerjwang36 <jwang36@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 10 Oct 2007 07:04:47 +0000 (07:04 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4076 6f19259b-4bc3-4df7-8a09-765794883524

IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciLib.c

index c7423f6f799dddf81522b24b858bce7a5b324035..d8cec4aaae9bfa6831f86327429bf49a628b28b2 100644 (file)
@@ -2113,7 +2113,7 @@ ReadConfigData (
           return Status;\r
         }\r
 \r
-       Stride = 1 << AccessWidth;\r
+       Stride = (UINTN)1 << AccessWidth;\r
         AccessAddress += Stride;\r
         if (AccessAddress >= (Address + LShiftU64 (1ULL, (UINTN)Width))) {\r
           //\r
@@ -2380,7 +2380,7 @@ WriteConfigData (
 \r
         Data = RShiftU64 (Data, ((1 << AccessWidth) * 8));\r
 \r
-        Stride = 1 << AccessWidth;\r
+        Stride = (UINTN)1 << AccessWidth;\r
         AccessAddress += Stride;\r
         if (AccessAddress >= (Address + LShiftU64 (1ULL, (UINTN)Width))) {\r
           //\r