summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--IntelFrameworkModulePkg/Library/GenericBdsLib/BdsBoot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/IntelFrameworkModulePkg/Library/GenericBdsLib/BdsBoot.c b/IntelFrameworkModulePkg/Library/GenericBdsLib/BdsBoot.c
index 0cb21c1692..3a9530ec27 100644
--- a/IntelFrameworkModulePkg/Library/GenericBdsLib/BdsBoot.c
+++ b/IntelFrameworkModulePkg/Library/GenericBdsLib/BdsBoot.c
@@ -248,7 +248,7 @@ BdsLibBootViaBootOption (
Status = gBS->LocateProtocol (
&gEfiSecurityArchProtocolGuid,
NULL,
- &SecurityProtocol
+ (VOID**) &SecurityProtocol
);
if (!EFI_ERROR (Status)) {
Status = SecurityProtocol->FileAuthenticationState (SecurityProtocol, 0, DevicePath);