From 6e53646837da984d2f5dd64467ba7a8943b459ae Mon Sep 17 00:00:00 2001 From: qhuang8 Date: Tue, 21 Oct 2008 03:11:47 +0000 Subject: Fix several coding style violations git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6163 6f19259b-4bc3-4df7-8a09-765794883524 --- MdeModulePkg/Core/Dxe/SectionExtraction/CoreSectionExtraction.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'MdeModulePkg/Core/Dxe/SectionExtraction/CoreSectionExtraction.c') diff --git a/MdeModulePkg/Core/Dxe/SectionExtraction/CoreSectionExtraction.c b/MdeModulePkg/Core/Dxe/SectionExtraction/CoreSectionExtraction.c index c8484d45d4..2b17239d30 100644 --- a/MdeModulePkg/Core/Dxe/SectionExtraction/CoreSectionExtraction.c +++ b/MdeModulePkg/Core/Dxe/SectionExtraction/CoreSectionExtraction.c @@ -656,7 +656,7 @@ CreateChildNode ( // Make sure we initialize the new stream with the correct // authentication status for both aggregate and local status fields. // - if (GuidedHeader->Attributes & EFI_GUIDED_SECTION_AUTH_STATUS_VALID) { + if ((GuidedHeader->Attributes & EFI_GUIDED_SECTION_AUTH_STATUS_VALID) != 0) { // // OR in the parent stream's aggregate status. // @@ -685,7 +685,7 @@ CreateChildNode ( // // There's no GUIDed section extraction protocol available. // - if (GuidedHeader->Attributes & EFI_GUIDED_SECTION_PROCESSING_REQUIRED) { + if ((GuidedHeader->Attributes & EFI_GUIDED_SECTION_PROCESSING_REQUIRED) != 0) { // // If the section REQUIRES an extraction protocol, then we're toast // -- cgit v1.2.3