summaryrefslogtreecommitdiff
path: root/DuetPkg/DataHubGenDxe
diff options
context:
space:
mode:
authorklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2008-04-18 04:14:35 +0000
committerklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2008-04-18 04:14:35 +0000
commitf40bbc08c8690a3e408736cbf047999d2fac44eb (patch)
tree8c28197325ea0d61d136319b12c423f4f4062a00 /DuetPkg/DataHubGenDxe
parent1166d06825aca8d7e172776bd1297d6bcd3ad47c (diff)
downloadedk2-platforms-f40bbc08c8690a3e408736cbf047999d2fac44eb.tar.xz
Apply david's patch.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5091 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'DuetPkg/DataHubGenDxe')
-rw-r--r--DuetPkg/DataHubGenDxe/DataHubGen.c4
-rw-r--r--DuetPkg/DataHubGenDxe/DataHubGen.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/DuetPkg/DataHubGenDxe/DataHubGen.c b/DuetPkg/DataHubGenDxe/DataHubGen.c
index 5d38505e13..4ff92c4d1f 100644
--- a/DuetPkg/DataHubGenDxe/DataHubGen.c
+++ b/DuetPkg/DataHubGenDxe/DataHubGen.c
@@ -338,7 +338,7 @@ DataHubGenEntrypoint (
Status = gBS->LocateProtocol (
&gEfiDataHubProtocolGuid,
NULL,
- &gDataHub
+ (VOID**)&gDataHub
);
if (EFI_ERROR (Status)) {
return Status;
@@ -354,7 +354,7 @@ DataHubGenEntrypoint (
Status = gBS->LocateProtocol (
&gEfiHiiProtocolGuid,
NULL,
- &gHii
+ (VOID**)&gHii
);
#endif
if (EFI_ERROR (Status)) {
diff --git a/DuetPkg/DataHubGenDxe/DataHubGen.h b/DuetPkg/DataHubGenDxe/DataHubGen.h
index 593b955eaf..d45f212a7a 100644
--- a/DuetPkg/DataHubGenDxe/DataHubGen.h
+++ b/DuetPkg/DataHubGenDxe/DataHubGen.h
@@ -60,7 +60,7 @@ Abstract:
SMBIOS_STRUCTURE_POINTER
GetSmbiosTableFromType (
- IN VOID *Smbios,
+ IN SMBIOS_TABLE_ENTRY_POINT *Smbios,
IN UINT8 Type,
IN UINTN Index
);