diff options
author | ydong10 <ydong10@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-05-17 01:27:05 +0000 |
---|---|---|
committer | ydong10 <ydong10@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-05-17 01:27:05 +0000 |
commit | 5ec56d19a6e9c816befa0962470a4391fbd40816 (patch) | |
tree | d6db3d1e1b8cc03e67cb9bc78f73f77d79dafbeb | |
parent | 2f4f828a23a0df537bf0d81ae609a2bba342753f (diff) | |
download | edk2-5ec56d19a6e9c816befa0962470a4391fbd40816.tar.gz edk2-5ec56d19a6e9c816befa0962470a4391fbd40816.tar.bz2 edk2-5ec56d19a6e9c816befa0962470a4391fbd40816.zip |
Fixed an error when parse time opcode.
Signed-off-by: ydong10
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11668 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r-- | MdeModulePkg/Universal/SetupBrowserDxe/IfrParse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MdeModulePkg/Universal/SetupBrowserDxe/IfrParse.c b/MdeModulePkg/Universal/SetupBrowserDxe/IfrParse.c index 314f91b529..ef862e4e98 100644 --- a/MdeModulePkg/Universal/SetupBrowserDxe/IfrParse.c +++ b/MdeModulePkg/Universal/SetupBrowserDxe/IfrParse.c @@ -1639,7 +1639,7 @@ ParseOpCodes ( CurrentStatement->HiiValue.Type = EFI_IFR_TYPE_TIME;
if ((CurrentStatement->Flags & QF_TIME_STORAGE) == QF_TIME_STORAGE_NORMAL) {
- CurrentStatement->StorageWidth = (UINT16) sizeof (EFI_IFR_TIME);
+ CurrentStatement->StorageWidth = (UINT16) sizeof (EFI_HII_TIME);
InitializeRequestElement (FormSet, CurrentStatement);
} else {
|