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:
qhuang8 2009-04-03 11:15:52 +00:00
parent 8e6b0dcb50
commit 23042a556b

View File

@ -85,7 +85,6 @@ LocalLoadFile2 (
) {
ImageSize = (UINT32) EfiRomHeader->InitializationSize * 512;
ImageBuffer = (UINT8 *) EfiRomHeader + EfiRomHeader->EfiImageHeaderOffset;
ImageLength = ImageSize - EfiRomHeader->EfiImageHeaderOffset;
@ -106,7 +105,7 @@ LocalLoadFile2 (
//
// Compressed: Uncompress before copying
//
Status = gBS->LocateProtocol (&gEfiDecompressProtocolGuid, NULL, &Decompress);
Status = gBS->LocateProtocol (&gEfiDecompressProtocolGuid, NULL, (VOID **) &Decompress);
if (EFI_ERROR (Status)) {
return EFI_DEVICE_ERROR;
}