X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=MdePkg%2FLibrary%2FPeiDxePostCodeLibReportStatusCode%2FPostCode.c;h=408ede45c72b143c75e756c2ed9e57c178173c79;hp=c57489dc3d4cf11d12f2fdc412d133a285b657c5;hb=582510249f2fb1334e507b99421b9485f6b89159;hpb=24e25d11c0460dfb39fade685375c0e58cbcb40e diff --git a/MdePkg/Library/PeiDxePostCodeLibReportStatusCode/PostCode.c b/MdePkg/Library/PeiDxePostCodeLibReportStatusCode/PostCode.c index c57489dc3d..408ede45c7 100644 --- a/MdePkg/Library/PeiDxePostCodeLibReportStatusCode/PostCode.c +++ b/MdePkg/Library/PeiDxePostCodeLibReportStatusCode/PostCode.c @@ -123,7 +123,7 @@ PostCodeEnabled ( VOID ) { - return ((PcdGet8(PcdPostCodePropertyMask) & POST_CODE_PROPERTY_POST_CODE_ENABLED) != 0); + return (BOOLEAN) ((PcdGet8(PcdPostCodePropertyMask) & POST_CODE_PROPERTY_POST_CODE_ENABLED) != 0); } @@ -146,5 +146,5 @@ PostCodeDescriptionEnabled ( VOID ) { - return ((PcdGet8(PcdPostCodePropertyMask) & POST_CODE_PROPERTY_POST_CODE_ENABLED) != 0); + return (BOOLEAN) ((PcdGet8(PcdPostCodePropertyMask) & POST_CODE_PROPERTY_POST_CODE_ENABLED) != 0); }