From: czhang46 Date: Thu, 29 Nov 2012 02:12:32 +0000 (+0000) Subject: Fix Gcc build error X-Git-Tag: edk2-stable201903~12856 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=bcb7667258cf5df2db41f00ba7314f52d9ae79e1 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 --- 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;