]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EdkCompatibilityPkg/Foundation/Library/RuntimeDxe/EfiRuntimeLib/GetImage.c
1) Cleanup for GCC and ICC tool-chain.
[mirror_edk2.git] / EdkCompatibilityPkg / Foundation / Library / RuntimeDxe / EfiRuntimeLib / GetImage.c
index 990acffac14664ec09d4a5880aecd7ea5238cde7..a48b9a4f1469e783ae3943e3766a4ec3a0b6ff74 100644 (file)
@@ -1,6 +1,6 @@
 /*++\r
 \r
-Copyright (c) 2006 - 2007, Intel Corporation\r
+Copyright (c) 2006 - 2008, Intel Corporation\r
 All rights reserved. This program and the accompanying materials\r
 are licensed and made available under the terms and conditions of the BSD License\r
 which accompanies this distribution.  The full text of the license may be found at\r
@@ -140,7 +140,7 @@ GetImageEx (
     Status = gBS->HandleProtocol (\r
                ImageHandle,\r
                &gEfiLoadedImageProtocolGuid,\r
-               &LoadedImage\r
+               (VOID **) &LoadedImage\r
                );\r
     if (EFI_ERROR (Status)) {\r
       return Status;\r
@@ -152,7 +152,7 @@ GetImageEx (
                   #else\r
                     &gEfiFirmwareVolume2ProtocolGuid,\r
                   #endif\r
-                    &ImageFv\r
+                    (VOID **) &ImageFv\r
                     );\r
     if (!EFI_ERROR (Status)) {\r
       Status = GetImageFromFv (ImageFv, NameGuid, SectionType, Buffer, Size);\r