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:
Eric Dong 2014-04-21 02:17:29 +00:00 committed by ydong10
parent e6106e892d
commit 4f467fd33b
1 changed files with 4 additions and 4 deletions

View File

@ -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;