diff --git a/EdkModulePkg/Universal/Runtime/RuntimeDxe/Runtime.c b/EdkModulePkg/Universal/Runtime/RuntimeDxe/Runtime.c index e6946bd897..0b6965c8a4 100644 --- a/EdkModulePkg/Universal/Runtime/RuntimeDxe/Runtime.c +++ b/EdkModulePkg/Universal/Runtime/RuntimeDxe/Runtime.c @@ -483,7 +483,7 @@ Returns: Status = gBS->HandleProtocol ( ImageHandle, &gEfiLoadedImageProtocolGuid, - &MyLoadedImage + (VOID**)&MyLoadedImage ); ASSERT_EFI_ERROR (Status); mMyImageBase = MyLoadedImage->ImageBase;