mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-24 22:24:37 +02:00
Fix ICC build warning
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8026 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
8e6b0dcb50
commit
23042a556b
@ -85,7 +85,6 @@ LocalLoadFile2 (
|
|||||||
) {
|
) {
|
||||||
|
|
||||||
ImageSize = (UINT32) EfiRomHeader->InitializationSize * 512;
|
ImageSize = (UINT32) EfiRomHeader->InitializationSize * 512;
|
||||||
|
|
||||||
ImageBuffer = (UINT8 *) EfiRomHeader + EfiRomHeader->EfiImageHeaderOffset;
|
ImageBuffer = (UINT8 *) EfiRomHeader + EfiRomHeader->EfiImageHeaderOffset;
|
||||||
ImageLength = ImageSize - EfiRomHeader->EfiImageHeaderOffset;
|
ImageLength = ImageSize - EfiRomHeader->EfiImageHeaderOffset;
|
||||||
|
|
||||||
@ -106,7 +105,7 @@ LocalLoadFile2 (
|
|||||||
//
|
//
|
||||||
// Compressed: Uncompress before copying
|
// Compressed: Uncompress before copying
|
||||||
//
|
//
|
||||||
Status = gBS->LocateProtocol (&gEfiDecompressProtocolGuid, NULL, &Decompress);
|
Status = gBS->LocateProtocol (&gEfiDecompressProtocolGuid, NULL, (VOID **) &Decompress);
|
||||||
if (EFI_ERROR (Status)) {
|
if (EFI_ERROR (Status)) {
|
||||||
return EFI_DEVICE_ERROR;
|
return EFI_DEVICE_ERROR;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user