summaryrefslogtreecommitdiff
path: root/SecurityPkg/Tcg/TcgDxe
diff options
context:
space:
mode:
authorczhang46 <czhang46@6f19259b-4bc3-4df7-8a09-765794883524>2012-11-29 02:12:32 +0000
committerczhang46 <czhang46@6f19259b-4bc3-4df7-8a09-765794883524>2012-11-29 02:12:32 +0000
commitbcb7667258cf5df2db41f00ba7314f52d9ae79e1 (patch)
treea901b98a951c30159a6fa37d260ae951c8b8563e /SecurityPkg/Tcg/TcgDxe
parent879dbe18d8d56ae4dd6ca70b832eccf135b9514d (diff)
downloadedk2-platforms-bcb7667258cf5df2db41f00ba7314f52d9ae79e1.tar.xz
Fix Gcc build error
Signed-off-by: Chao Zhang<chao.b.zhang@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13978 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'SecurityPkg/Tcg/TcgDxe')
-rw-r--r--SecurityPkg/Tcg/TcgDxe/TcgDxe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/SecurityPkg/Tcg/TcgDxe/TcgDxe.c b/SecurityPkg/Tcg/TcgDxe/TcgDxe.c
index b8221b19a6..6779230917 100644
--- a/SecurityPkg/Tcg/TcgDxe/TcgDxe.c
+++ b/SecurityPkg/Tcg/TcgDxe/TcgDxe.c
@@ -204,7 +204,7 @@ GetProcessorsCpuLocation (
Status = gBS->AllocatePool(
EfiBootServicesData,
sizeof(EFI_CPU_PHYSICAL_LOCATION) * ProcessorNum,
- &ProcessorLocBuf
+ (VOID **) &ProcessorLocBuf
);
if (EFI_ERROR(Status)){
return Status;