diff options
-rw-r--r-- | EdkCompatibilityPkg/Sample/Platform/Generic/MonoStatusCode/Library/Pei/MemoryStatusCode/MemoryStatusCode.c | 12 |
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;
|