summaryrefslogtreecommitdiff
path: root/EdkUnixPkg/Dxe/PlatformBds/Generic/BootMaint/BmLib.c
diff options
context:
space:
mode:
Diffstat (limited to 'EdkUnixPkg/Dxe/PlatformBds/Generic/BootMaint/BmLib.c')
-rw-r--r--EdkUnixPkg/Dxe/PlatformBds/Generic/BootMaint/BmLib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/EdkUnixPkg/Dxe/PlatformBds/Generic/BootMaint/BmLib.c b/EdkUnixPkg/Dxe/PlatformBds/Generic/BootMaint/BmLib.c
index 6f46386621..415321efd7 100644
--- a/EdkUnixPkg/Dxe/PlatformBds/Generic/BootMaint/BmLib.c
+++ b/EdkUnixPkg/Dxe/PlatformBds/Generic/BootMaint/BmLib.c
@@ -469,7 +469,7 @@ Returns:
Status = gBS->LocateProtocol (
&gEfiHiiProtocolGuid,
NULL,
- &Hii
+ (VOID**) &Hii
);
if (EFI_ERROR (Status)) {
*String = NULL;
@@ -579,7 +579,7 @@ EfiLibStrFromDatahub (
Status = gBS->LocateProtocol (
&gEfiDataHubProtocolGuid,
NULL,
- &Datahub
+ (VOID**) &Datahub
);
if (EFI_ERROR (Status)) {
return NULL;