]> git.proxmox.com Git - mirror_edk2.git/blobdiff - IntelFrameworkPkg/Library/DxeReportStatusCodeLibFramework/ReportStatusCodeLib.c
Build drivers for IPF, X64, IA32 arch
[mirror_edk2.git] / IntelFrameworkPkg / Library / DxeReportStatusCodeLibFramework / ReportStatusCodeLib.c
index e2f9d5fa476964709683c920c0dc913038225fb3..728703ab320251dac4f9eebbddaf511851937815 100644 (file)
@@ -78,7 +78,7 @@ InternalReportStatusCode (
     if (gBS == NULL) {\r
       return EFI_UNSUPPORTED;\r
     }\r
-    Status = gBS->LocateProtocol (&gEfiStatusCodeRuntimeProtocolGuid, NULL, &StatusCode);\r
+    Status = gBS->LocateProtocol (&gEfiStatusCodeRuntimeProtocolGuid, NULL, (VOID**)&StatusCode);\r
     if (!EFI_ERROR (Status) && StatusCode != NULL) {\r
       ReportStatusCode = StatusCode->ReportStatusCode;\r
     } else if (gRT->Hdr.Revision < 0x20000) {\r