From d24d32ddf8ff8aaef619c9796067f88144c025f7 Mon Sep 17 00:00:00 2001 From: qwang12 Date: Tue, 18 Nov 2008 08:03:58 +0000 Subject: ICC Cleanup: add (VOID **) typecast. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6584 6f19259b-4bc3-4df7-8a09-765794883524 --- .../Library/Pei/MemoryStatusCode/MemoryStatusCode.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'EdkCompatibilityPkg') diff --git a/EdkCompatibilityPkg/Sample/Platform/Generic/MonoStatusCode/Library/Pei/MemoryStatusCode/MemoryStatusCode.c b/EdkCompatibilityPkg/Sample/Platform/Generic/MonoStatusCode/Library/Pei/MemoryStatusCode/MemoryStatusCode.c index be82428869..35e22e72ef 100644 --- a/EdkCompatibilityPkg/Sample/Platform/Generic/MonoStatusCode/Library/Pei/MemoryStatusCode/MemoryStatusCode.c +++ b/EdkCompatibilityPkg/Sample/Platform/Generic/MonoStatusCode/Library/Pei/MemoryStatusCode/MemoryStatusCode.c @@ -1,6 +1,6 @@ /*++ -Copyright (c) 2004 - 2006, Intel Corporation +Copyright (c) 2004 - 2008, Intel Corporation All rights reserved. This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at @@ -92,7 +92,7 @@ Returns: Status = (*PeiServices)->AllocatePool ( PeiServices, PEI_STATUS_CODE_HEAP_LENGTH, - &StartPointer + (VOID **) &StartPointer ); // @@ -111,7 +111,7 @@ Returns: Status = (*PeiServices)->AllocatePool ( PeiServices, sizeof (MEMORY_STATUS_CODE_INSTANCE), - &PrivateData + (VOID **) &PrivateData ); // @@ -171,7 +171,7 @@ Returns: &gPeiStatusCodeMemoryPpiGuid, 0, &StatusCodeMemoryDescriptor, - &StatusCodeMemoryPpi + (VOID **) &StatusCodeMemoryPpi ); if (EFI_ERROR (Status)) { return ; @@ -274,7 +274,7 @@ Returns: &gPeiStatusCodePpiGuid, 0, &ReportStatusCodeDescriptor, - &ReportStatusCodePpi + (VOID **) &ReportStatusCodePpi ); if (EFI_ERROR (Status)) { return ; @@ -368,7 +368,7 @@ Returns: &gPeiStatusCodeMemoryPpiGuid, 0, &StatusCodeMemoryDescriptor, - &StatusCodeMemoryPpi + (VOID **) &StatusCodeMemoryPpi ); if (EFI_ERROR (Status)) { return EFI_SUCCESS; -- cgit v1.2.3