Change MAX_CHOICE_NUM to max UINT8 value

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7122 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
lgao4 2008-12-25 09:30:36 +00:00
parent 68dbca6c14
commit 40b96d407e
2 changed files with 2 additions and 3 deletions

View File

@ -975,7 +975,7 @@ UpdatePrioritySelectPage (
EFI_IFR_FLAG_RESET_REQUIRED,
0,
EFI_IFR_NUMERIC_SIZE_1,
MAX_CHOICE_NUM,
(UINT8) MAX_CHOICE_NUM,
IfrOptionList,
SelectedDriverImageNum,
&UpdateData

View File

@ -25,8 +25,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
//
// The max number of the supported driver list.
//
//
#define MAX_CHOICE_NUM 0x0100
#define MAX_CHOICE_NUM 0x00ff
#define UPDATE_DATA_SIZE 0x1000
#define FORM_ID_DEVICE 0x1100