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,