summaryrefslogtreecommitdiff
path: root/EdkUnixPkg/Dxe/PlatformBds/Generic/Capsules.c
diff options
context:
space:
mode:
Diffstat (limited to 'EdkUnixPkg/Dxe/PlatformBds/Generic/Capsules.c')
-rw-r--r--EdkUnixPkg/Dxe/PlatformBds/Generic/Capsules.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/EdkUnixPkg/Dxe/PlatformBds/Generic/Capsules.c b/EdkUnixPkg/Dxe/PlatformBds/Generic/Capsules.c
index b25316645a..23b83a3c44 100644
--- a/EdkUnixPkg/Dxe/PlatformBds/Generic/Capsules.c
+++ b/EdkUnixPkg/Dxe/PlatformBds/Generic/Capsules.c
@@ -80,7 +80,7 @@ BdsLockNonUpdatableFlash (
EFI_STATUS Status;
EFI_CPU_IO_PROTOCOL *CpuIo;
- Status = gBS->LocateProtocol (&gEfiCpuIoProtocolGuid, NULL, &CpuIo);
+ Status = gBS->LocateProtocol (&gEfiCpuIoProtocolGuid, NULL, (VOID**)&CpuIo);
ASSERT_EFI_ERROR (Status);
GuidHob.Raw = GetHobList ();