]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Cleaned the code for passing Visual Studio 2005 build
authorjwang36 <jwang36@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 9 Oct 2007 09:31:07 +0000 (09:31 +0000)
committerjwang36 <jwang36@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 9 Oct 2007 09:31:07 +0000 (09:31 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4063 6f19259b-4bc3-4df7-8a09-765794883524

Nt32Pkg/FvbServicesRuntimeDxe/FWBlockService.c

index c2245f48c9918f5ee3b1903878310edd62933947..7b00fd9b3a80a5f35ac58127f59381309559282b 100644 (file)
@@ -1088,7 +1088,7 @@ Returns:
 \r
   FvbDevice = FVB_DEVICE_FROM_THIS (This);\r
 \r
-  return FvbWriteBlock (FvbDevice->Instance, Lba, Offset, NumBytes, Buffer, mFvbModuleGlobal, EfiGoneVirtual ());\r
+  return FvbWriteBlock (FvbDevice->Instance, (EFI_LBA)Lba, (UINTN)Offset, NumBytes, (UINT8 *)Buffer, mFvbModuleGlobal, EfiGoneVirtual ());\r
 }\r
 \r
 EFI_STATUS\r