]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EdkCompatibilityPkg/Sample/Platform/Generic/MonoStatusCode/Library/Pei/MemoryStatusCode/MemoryStatusCode.c
ICC Cleanup: add (VOID **) typecast.
[mirror_edk2.git] / EdkCompatibilityPkg / Sample / Platform / Generic / MonoStatusCode / Library / Pei / MemoryStatusCode / MemoryStatusCode.c
index be82428869d085cefcedc15a88bf8e57ea7795e3..35e22e72efed9e5ade13e1fe4a331f97189a70a6 100644 (file)
@@ -1,6 +1,6 @@
 /*++\r
 \r
-Copyright (c) 2004 - 2006, Intel Corporation                                                         \r
+Copyright (c) 2004 - 2008, Intel Corporation                                                         \r
 All rights reserved. This program and the accompanying materials                          \r
 are licensed and made available under the terms and conditions of the BSD License         \r
 which accompanies this distribution.  The full text of the license may be found at        \r
@@ -92,7 +92,7 @@ Returns:
     Status = (*PeiServices)->AllocatePool (\r
                               PeiServices,\r
                               PEI_STATUS_CODE_HEAP_LENGTH,\r
-                              &StartPointer\r
+                              (VOID **) &StartPointer\r
                               );\r
 \r
     //\r
@@ -111,7 +111,7 @@ Returns:
     Status = (*PeiServices)->AllocatePool (\r
                               PeiServices,\r
                               sizeof (MEMORY_STATUS_CODE_INSTANCE),\r
-                              &PrivateData\r
+                              (VOID **) &PrivateData\r
                               );\r
 \r
     //\r
@@ -171,7 +171,7 @@ Returns:
                               &gPeiStatusCodeMemoryPpiGuid,\r
                               0,\r
                               &StatusCodeMemoryDescriptor,\r
-                              &StatusCodeMemoryPpi\r
+                              (VOID **) &StatusCodeMemoryPpi\r
                               );\r
     if (EFI_ERROR (Status)) {\r
       return ;\r
@@ -274,7 +274,7 @@ Returns:
                               &gPeiStatusCodePpiGuid,\r
                               0,\r
                               &ReportStatusCodeDescriptor,\r
-                              &ReportStatusCodePpi\r
+                              (VOID **) &ReportStatusCodePpi\r
                               );\r
     if (EFI_ERROR (Status)) {\r
       return ;\r
@@ -368,7 +368,7 @@ Returns:
                               &gPeiStatusCodeMemoryPpiGuid,\r
                               0,\r
                               &StatusCodeMemoryDescriptor,\r
-                              &StatusCodeMemoryPpi\r
+                              (VOID **) &StatusCodeMemoryPpi\r
                               );\r
     if (EFI_ERROR (Status)) {\r
       return EFI_SUCCESS;\r