From: hhuan13 Date: Mon, 9 Aug 2010 06:27:12 +0000 (+0000) Subject: Fixed K9 scan issues. X-Git-Tag: edk2-stable201903~15617 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=19550383ac937b17d41bf7badcd413fb5ce57b03;p=mirror_edk2.git Fixed K9 scan issues. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10780 6f19259b-4bc3-4df7-8a09-765794883524 --- diff --git a/MdeModulePkg/Library/UefiHiiLib/HiiLib.c b/MdeModulePkg/Library/UefiHiiLib/HiiLib.c index 2ad85ad75e..c6e1fe12ad 100644 --- a/MdeModulePkg/Library/UefiHiiLib/HiiLib.c +++ b/MdeModulePkg/Library/UefiHiiLib/HiiLib.c @@ -1411,7 +1411,7 @@ InternalHiiValidateCurrentSetting ( // Get Offset by Question header // Offset = IfrCheckBox->Question.VarStoreInfo.VarOffset; - Width = sizeof (BOOLEAN); + Width = (UINT16) sizeof (BOOLEAN); // // Check whether this question is in current block array. //