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;