diff options
-rw-r--r-- | ArmVirtPkg/Library/PlatformIntelBdsLib/QemuKernel.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ArmVirtPkg/Library/PlatformIntelBdsLib/QemuKernel.c b/ArmVirtPkg/Library/PlatformIntelBdsLib/QemuKernel.c index b882dd2713..c48f4767ad 100644 --- a/ArmVirtPkg/Library/PlatformIntelBdsLib/QemuKernel.c +++ b/ArmVirtPkg/Library/PlatformIntelBdsLib/QemuKernel.c @@ -413,7 +413,9 @@ StubFileRead ( return EFI_SUCCESS;
}
- Status = ConvertKernelBlobTypeToFileInfo (StubFile->Position, BufferSize,
+ Status = ConvertKernelBlobTypeToFileInfo (
+ (KERNEL_BLOB_TYPE)StubFile->Position,
+ BufferSize,
Buffer);
if (EFI_ERROR (Status)) {
return Status;
|