X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=IntelFrameworkPkg%2FLibrary%2FDxeReportStatusCodeLibFramework%2FReportStatusCodeLib.c;fp=IntelFrameworkPkg%2FLibrary%2FDxeReportStatusCodeLibFramework%2FReportStatusCodeLib.c;h=728703ab320251dac4f9eebbddaf511851937815;hp=e2f9d5fa476964709683c920c0dc913038225fb3;hb=898d4ac23bb66c2aca35fed5d50d61194e1c69f2;hpb=4a4f92fc5f74bde8cf21aacfc030c0dd8d63bdb3 diff --git a/IntelFrameworkPkg/Library/DxeReportStatusCodeLibFramework/ReportStatusCodeLib.c b/IntelFrameworkPkg/Library/DxeReportStatusCodeLibFramework/ReportStatusCodeLib.c index e2f9d5fa47..728703ab32 100644 --- a/IntelFrameworkPkg/Library/DxeReportStatusCodeLibFramework/ReportStatusCodeLib.c +++ b/IntelFrameworkPkg/Library/DxeReportStatusCodeLibFramework/ReportStatusCodeLib.c @@ -78,7 +78,7 @@ InternalReportStatusCode ( if (gBS == NULL) { return EFI_UNSUPPORTED; } - Status = gBS->LocateProtocol (&gEfiStatusCodeRuntimeProtocolGuid, NULL, &StatusCode); + Status = gBS->LocateProtocol (&gEfiStatusCodeRuntimeProtocolGuid, NULL, (VOID**)&StatusCode); if (!EFI_ERROR (Status) && StatusCode != NULL) { ReportStatusCode = StatusCode->ReportStatusCode; } else if (gRT->Hdr.Revision < 0x20000) {