summaryrefslogtreecommitdiffstats
path: root/MdeModulePkg
diff options
context:
space:
mode:
authorDandan Bi <dandan.bi@intel.com>2016-09-26 14:25:33 +0800
committerStar Zeng <star.zeng@intel.com>2016-10-08 10:19:46 +0800
commit0cdde071136b442606ae264227d67b3d65272e70 (patch)
treec19e3e079b3ffda0757307a47e98ad71e513fc8e /MdeModulePkg
parent9381ad8701275b802c6f6c9d5629a084afa93ddc (diff)
downloadedk2-0cdde071136b442606ae264227d67b3d65272e70.tar.gz
edk2-0cdde071136b442606ae264227d67b3d65272e70.tar.bz2
edk2-0cdde071136b442606ae264227d67b3d65272e70.zip
MdeModulePkg/HiiDataBase: Fix incorrect local variable type
The type of variable "SmallestIdFromFlag" should be BOOLEAN, this patch fix the incorrect type. Cc: Liming Gao <liming.gao@intel.com> Cc: Eric Dong <eric.dong@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Dandan Bi <dandan.bi@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com>
Diffstat (limited to 'MdeModulePkg')
-rw-r--r--MdeModulePkg/Universal/HiiDatabaseDxe/ConfigRouting.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/MdeModulePkg/Universal/HiiDatabaseDxe/ConfigRouting.c b/MdeModulePkg/Universal/HiiDatabaseDxe/ConfigRouting.c
index a97e28b8dd..d547f42f3a 100644
--- a/MdeModulePkg/Universal/HiiDatabaseDxe/ConfigRouting.c
+++ b/MdeModulePkg/Universal/HiiDatabaseDxe/ConfigRouting.c
@@ -2103,7 +2103,7 @@ ParseIfrData (
EFI_HII_PACKAGE_HEADER *PackageHeader;
EFI_VARSTORE_ID VarStoreId;
UINT16 SmallestDefaultId;
- UINT16 SmallestIdFromFlag;
+ BOOLEAN SmallestIdFromFlag;
BOOLEAN FromOtherDefaultOpcode;
Status = EFI_SUCCESS;