]> git.proxmox.com Git - mirror_edk2.git/blobdiff - SecurityPkg/Tcg/TcgDxe/TcgDxe.c
Fix Gcc build error
[mirror_edk2.git] / SecurityPkg / Tcg / TcgDxe / TcgDxe.c
index b8221b19a6932a6d0755dd1f80484354abba143f..6779230917912a32e02dc74f3a9b2dad264542ad 100644 (file)
@@ -204,7 +204,7 @@ GetProcessorsCpuLocation (
   Status = gBS->AllocatePool(\r
                   EfiBootServicesData,\r
                   sizeof(EFI_CPU_PHYSICAL_LOCATION) * ProcessorNum,\r
-                  &ProcessorLocBuf\r
+                  (VOID **) &ProcessorLocBuf\r
                   );\r
   if (EFI_ERROR(Status)){\r
     return Status;\r