diff options
author | Eric Dong <eric.dong@intel.com> | 2014-04-21 02:17:29 +0000 |
---|---|---|
committer | ydong10 <ydong10@6f19259b-4bc3-4df7-8a09-765794883524> | 2014-04-21 02:17:29 +0000 |
commit | 4f467fd33b2fc682ed5f1932453d47110345534e (patch) | |
tree | ef16cf958a0d1bee77b0c385c9fdfe3a8b6202dd /MdeModulePkg | |
parent | e6106e892d5fb4662b5dccf2891451b0e4bfe3e5 (diff) | |
download | edk2-4f467fd33b2fc682ed5f1932453d47110345534e.zip edk2-4f467fd33b2fc682ed5f1932453d47110345534e.tar.gz edk2-4f467fd33b2fc682ed5f1932453d47110345534e.tar.bz2 |
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
Diffstat (limited to 'MdeModulePkg')
-rw-r--r-- | MdeModulePkg/Universal/SetupBrowserDxe/Expression.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/MdeModulePkg/Universal/SetupBrowserDxe/Expression.c b/MdeModulePkg/Universal/SetupBrowserDxe/Expression.c index 92a4727..13c5c91 100644 --- a/MdeModulePkg/Universal/SetupBrowserDxe/Expression.c +++ b/MdeModulePkg/Universal/SetupBrowserDxe/Expression.c @@ -3302,16 +3302,16 @@ IsTrue ( return Result->Value.b;
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:
- return Result->Value.u16 != 0;
+ return (BOOLEAN)(Result->Value.u16 != 0);
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:
- return Result->Value.u64 != 0;
+ return (BOOLEAN)(Result->Value.u64 != 0);
default:
return FALSE;
|