From bcb7667258cf5df2db41f00ba7314f52d9ae79e1 Mon Sep 17 00:00:00 2001 From: czhang46 Date: Thu, 29 Nov 2012 02:12:32 +0000 Subject: [PATCH] Fix Gcc build error Signed-off-by: Chao Zhang git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13978 6f19259b-4bc3-4df7-8a09-765794883524 --- SecurityPkg/Tcg/TcgDxe/TcgDxe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.2