summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--UnixPkg/UnixAutoScanPei/UnixAutoScan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/UnixPkg/UnixAutoScanPei/UnixAutoScan.c b/UnixPkg/UnixAutoScanPei/UnixAutoScan.c
index 2a8969d8bf..e5faba1932 100644
--- a/UnixPkg/UnixAutoScanPei/UnixAutoScan.c
+++ b/UnixPkg/UnixAutoScanPei/UnixAutoScan.c
@@ -106,7 +106,7 @@ Returns:
// For the first area register it as PEI tested memory
//
Status = MemoryTestPpi->BaseMemoryTest (
- PeiServices,
+ (EFI_PEI_SERVICES **) PeiServices,
MemoryTestPpi,
MemoryBase,
MemorySize,