]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Library/UefiIfrSupportLib/UefiIfrOpCodeCreation.c
Correct typo in comments, clean IfrSupportLib.h
[mirror_edk2.git] / MdeModulePkg / Library / UefiIfrSupportLib / UefiIfrOpCodeCreation.c
index 9b48a27e1927ad028932977216c053e35e618b39..026cc0f0680dbcbd725bc5a7ca2348f4433781ec 100644 (file)
@@ -33,7 +33,7 @@ IsValidQuestionFlags (
   IN UINT8                   Flags\r
   )\r
 {\r
-  return (BOOLEAN) (((Flags & (~QUESTION_FLAGS)) != 0) ? FALSE : TRUE);\r
+  return (BOOLEAN) (((Flags & QUESTION_FLAGS_MASK) != 0) ? FALSE : TRUE);\r
 }\r
 \r
 /**\r