summaryrefslogtreecommitdiff
path: root/MdePkg/Library/BaseLib/x86GetInterruptState.c
diff options
context:
space:
mode:
Diffstat (limited to 'MdePkg/Library/BaseLib/x86GetInterruptState.c')
-rw-r--r--MdePkg/Library/BaseLib/x86GetInterruptState.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/MdePkg/Library/BaseLib/x86GetInterruptState.c b/MdePkg/Library/BaseLib/x86GetInterruptState.c
index 613d012..6898b8d 100644
--- a/MdePkg/Library/BaseLib/x86GetInterruptState.c
+++ b/MdePkg/Library/BaseLib/x86GetInterruptState.c
@@ -37,7 +37,7 @@ GetInterruptState (
IA32_EFLAGS32 EFlags;
EFlags.UintN = AsmReadEflags ();
- return (BOOLEAN)(EFlags.Bits.IF == 1);
+ return (BOOLEAN)(1 == EFlags.Bits.IF);
}