summaryrefslogtreecommitdiff
path: root/EdkCompatibilityPkg
diff options
context:
space:
mode:
authorqwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524>2008-11-18 08:03:58 +0000
committerqwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524>2008-11-18 08:03:58 +0000
commitd24d32ddf8ff8aaef619c9796067f88144c025f7 (patch)
tree179c0f23788116ce79aefb41ef08ed64858bc6a0 /EdkCompatibilityPkg
parent70d18ad1411d72c8352f21bc3e95da1be55df872 (diff)
downloadedk2-platforms-d24d32ddf8ff8aaef619c9796067f88144c025f7.tar.xz
ICC Cleanup: add (VOID **) typecast.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6584 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'EdkCompatibilityPkg')
-rw-r--r--EdkCompatibilityPkg/Sample/Platform/Generic/MonoStatusCode/Library/Pei/MemoryStatusCode/MemoryStatusCode.c12
1 files changed, 6 insertions, 6 deletions
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;