diff options
author | Star Zeng <star.zeng@intel.com> | 2015-10-29 01:12:43 +0000 |
---|---|---|
committer | lzeng14 <lzeng14@Edk2> | 2015-10-29 01:12:43 +0000 |
commit | 8c1d873522d0e77e82680b394221beb929fafc1e (patch) | |
tree | c2dcbab43ad36c6bb86faa7ecbfa211c835c8725 /MdeModulePkg/Universal | |
parent | 3c394a67756f4c98515c57a3ff83e8d5f139904c (diff) | |
download | edk2-platforms-8c1d873522d0e77e82680b394221beb929fafc1e.tar.xz |
MdeModulePkg SmbiosMeasurementDxe: Add (VOID **) typecast for GCC build failure
Cc: Jiewen Yao <jiewen.yao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18692 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Universal')
-rw-r--r-- | MdeModulePkg/Universal/SmbiosMeasurementDxe/SmbiosMeasurementDxe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MdeModulePkg/Universal/SmbiosMeasurementDxe/SmbiosMeasurementDxe.c b/MdeModulePkg/Universal/SmbiosMeasurementDxe/SmbiosMeasurementDxe.c index 85963818dc..e82b028116 100644 --- a/MdeModulePkg/Universal/SmbiosMeasurementDxe/SmbiosMeasurementDxe.c +++ b/MdeModulePkg/Universal/SmbiosMeasurementDxe/SmbiosMeasurementDxe.c @@ -589,7 +589,7 @@ SmbiosMeasurementDriverEntryPoint ( EFI_STATUS Status;
EFI_EVENT Event;
- Status = gBS->LocateProtocol (&gEfiSmbiosProtocolGuid, NULL, &mSmbios);
+ Status = gBS->LocateProtocol (&gEfiSmbiosProtocolGuid, NULL, (VOID **) &mSmbios);
ASSERT_EFI_ERROR (Status);
DEBUG ((DEBUG_INFO, "The Smbios Table Version: %x.%x\n", mSmbios->MajorVersion, mSmbios->MinorVersion));
|