]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Update code to pass build on VS2008 with /Od compiler option.
authorlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 28 Nov 2011 06:14:31 +0000 (06:14 +0000)
committerlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 28 Nov 2011 06:14:31 +0000 (06:14 +0000)
Signed-off-by: lgao4
Reviewed-by: rsun3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12791 6f19259b-4bc3-4df7-8a09-765794883524

IntelFrameworkModulePkg/Library/DxeCapsuleLib/DxeCapsuleLib.c

index 12c72720f700e30a7744b5f27fab74945dd01032..6f5ab5b0f55e5ea7c0c6f7b14d746b66bf2b3420 100644 (file)
@@ -108,7 +108,7 @@ ProcessCapsuleImage (
       //\r
       // Allocate new aligned buffer to store FvImage.\r
       //\r
-      ProcessedFvImage = (EFI_FIRMWARE_VOLUME_HEADER *) AllocateAlignedPages ((UINTN) EFI_SIZE_TO_PAGES (FvImage->FvLength), (UINTN) FvAlignment);\r
+      ProcessedFvImage = (EFI_FIRMWARE_VOLUME_HEADER *) AllocateAlignedPages ((UINTN) EFI_SIZE_TO_PAGES ((UINTN) FvImage->FvLength), (UINTN) FvAlignment);\r
       if (ProcessedFvImage == NULL) {\r
         Status = EFI_OUT_OF_RESOURCES;\r
         break;\r