Fix iMac build issue.
[mirror_edk2.git] / EdkModulePkg / Universal / Runtime / RuntimeDxe / Runtime.c
index e6946bd897ed5735835fd1182031834bf01a63e2..0b6965c8a4725ededa76486fc886a6cc41fab06b 100644 (file)
@@ -483,7 +483,7 @@ Returns:
   Status = gBS->HandleProtocol (\r
                   ImageHandle,\r
                   &gEfiLoadedImageProtocolGuid,\r
-                  &MyLoadedImage\r
+                  (VOID**)&MyLoadedImage\r
                   );\r
   ASSERT_EFI_ERROR (Status);\r
   mMyImageBase = MyLoadedImage->ImageBase;\r