diff options
Diffstat (limited to 'IntelFrameworkModulePkg/Library/DxeCapsuleLib/DxeCapsuleLib.c')
-rw-r--r-- | IntelFrameworkModulePkg/Library/DxeCapsuleLib/DxeCapsuleLib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/IntelFrameworkModulePkg/Library/DxeCapsuleLib/DxeCapsuleLib.c b/IntelFrameworkModulePkg/Library/DxeCapsuleLib/DxeCapsuleLib.c index 12c72720f7..6f5ab5b0f5 100644 --- a/IntelFrameworkModulePkg/Library/DxeCapsuleLib/DxeCapsuleLib.c +++ b/IntelFrameworkModulePkg/Library/DxeCapsuleLib/DxeCapsuleLib.c @@ -108,7 +108,7 @@ ProcessCapsuleImage ( //
// Allocate new aligned buffer to store FvImage.
//
- ProcessedFvImage = (EFI_FIRMWARE_VOLUME_HEADER *) AllocateAlignedPages ((UINTN) EFI_SIZE_TO_PAGES (FvImage->FvLength), (UINTN) FvAlignment);
+ ProcessedFvImage = (EFI_FIRMWARE_VOLUME_HEADER *) AllocateAlignedPages ((UINTN) EFI_SIZE_TO_PAGES ((UINTN) FvImage->FvLength), (UINTN) FvAlignment);
if (ProcessedFvImage == NULL) {
Status = EFI_OUT_OF_RESOURCES;
break;
|