mirror of https://github.com/acidanthera/audk.git
Fix GCC build fail.
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Eric Dong <eric.dong@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15477 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
e6106e892d
commit
4f467fd33b
|
@ -3302,16 +3302,16 @@ IsTrue (
|
||||||
return Result->Value.b;
|
return Result->Value.b;
|
||||||
|
|
||||||
case EFI_IFR_TYPE_NUM_SIZE_8:
|
case EFI_IFR_TYPE_NUM_SIZE_8:
|
||||||
return Result->Value.u8 != 0;
|
return (BOOLEAN)(Result->Value.u8 != 0);
|
||||||
|
|
||||||
case EFI_IFR_TYPE_NUM_SIZE_16:
|
case EFI_IFR_TYPE_NUM_SIZE_16:
|
||||||
return Result->Value.u16 != 0;
|
return (BOOLEAN)(Result->Value.u16 != 0);
|
||||||
|
|
||||||
case EFI_IFR_TYPE_NUM_SIZE_32:
|
case EFI_IFR_TYPE_NUM_SIZE_32:
|
||||||
return Result->Value.u32 != 0;
|
return (BOOLEAN)(Result->Value.u32 != 0);
|
||||||
|
|
||||||
case EFI_IFR_TYPE_NUM_SIZE_64:
|
case EFI_IFR_TYPE_NUM_SIZE_64:
|
||||||
return Result->Value.u64 != 0;
|
return (BOOLEAN)(Result->Value.u64 != 0);
|
||||||
|
|
||||||
default:
|
default:
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
Loading…
Reference in New Issue