diff options
Diffstat (limited to 'MdeModulePkg/Universal/DisplayEngineDxe/InputHandler.c')
-rw-r--r-- | MdeModulePkg/Universal/DisplayEngineDxe/InputHandler.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/MdeModulePkg/Universal/DisplayEngineDxe/InputHandler.c b/MdeModulePkg/Universal/DisplayEngineDxe/InputHandler.c index 607f0df83c..a58e12f12c 100644 --- a/MdeModulePkg/Universal/DisplayEngineDxe/InputHandler.c +++ b/MdeModulePkg/Universal/DisplayEngineDxe/InputHandler.c @@ -1045,16 +1045,16 @@ IsValuesEqual ( switch (Type) {
case EFI_IFR_TYPE_BOOLEAN:
case EFI_IFR_TYPE_NUM_SIZE_8:
- return Value1->u8 == Value2->u8;
+ return (BOOLEAN) (Value1->u8 == Value2->u8);
case EFI_IFR_TYPE_NUM_SIZE_16:
- return Value1->u16 == Value2->u16;
-
+ return (BOOLEAN) (Value1->u16 == Value2->u16);
+
case EFI_IFR_TYPE_NUM_SIZE_32:
- return Value1->u32 == Value2->u32;
-
+ return (BOOLEAN) (Value1->u32 == Value2->u32);
+
case EFI_IFR_TYPE_NUM_SIZE_64:
- return Value1->u64 == Value2->u64;
+ return (BOOLEAN) (Value1->u64 == Value2->u64);
default:
ASSERT (FALSE);
|