summaryrefslogtreecommitdiff
path: root/EdkUnixPkg/Dxe/PlatformBds/Generic/BootMaint/BmLib.c
diff options
context:
space:
mode:
authorklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2007-01-08 08:56:27 +0000
committerklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2007-01-08 08:56:27 +0000
commit997e26f6152ecb0f43d4fe68bc9ef57095ac4841 (patch)
tree4f1836f5aaee8ed10cf820ecc906fb3218e96469 /EdkUnixPkg/Dxe/PlatformBds/Generic/BootMaint/BmLib.c
parenta89f26d82d17958a47b2a1aa293fe4cccf5a543b (diff)
downloadedk2-platforms-997e26f6152ecb0f43d4fe68bc9ef57095ac4841.tar.xz
fix some minor warning
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2192 6f19259b-4bc3-4df7-8a09-765794883524
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;