X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=MdePkg%2FLibrary%2FBasePostCodeLibDebug%2FPostCode.c;h=a4996d326a13378b02fe9ee2474035b2b9c42e9c;hp=37f060228b513a7ed3e03297896ef5ba1dcd0ba3;hb=582510249f2fb1334e507b99421b9485f6b89159;hpb=533f039eb0bd2a1d5e7f11debb1379b048630021 diff --git a/MdePkg/Library/BasePostCodeLibDebug/PostCode.c b/MdePkg/Library/BasePostCodeLibDebug/PostCode.c index 37f060228b..a4996d326a 100644 --- a/MdePkg/Library/BasePostCodeLibDebug/PostCode.c +++ b/MdePkg/Library/BasePostCodeLibDebug/PostCode.c @@ -96,7 +96,7 @@ PostCodeEnabled ( VOID ) { - return ((PcdGet8(PcdPostCodePropertyMask) & POST_CODE_PROPERTY_POST_CODE_ENABLED) != 0); + return (BOOLEAN) ((PcdGet8(PcdPostCodePropertyMask) & POST_CODE_PROPERTY_POST_CODE_ENABLED) != 0); } @@ -118,5 +118,5 @@ PostCodeDescriptionEnabled ( VOID ) { - return ((PcdGet8(PcdPostCodePropertyMask) & POST_CODE_PROPERTY_POST_CODE_ENABLED) != 0); + return (BOOLEAN) ((PcdGet8(PcdPostCodePropertyMask) & POST_CODE_PROPERTY_POST_CODE_ENABLED) != 0); }