diff options
author | lgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-12-25 09:30:36 +0000 |
---|---|---|
committer | lgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-12-25 09:30:36 +0000 |
commit | 40b96d407e542b77838b2e2c79cf1d9a56032322 (patch) | |
tree | 31691beea27a7eaeefe0afae85970ccfae1319b0 /MdeModulePkg | |
parent | 68dbca6c14afab33f30d43c9956b659c15fa6874 (diff) | |
download | edk2-platforms-40b96d407e542b77838b2e2c79cf1d9a56032322.tar.xz |
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
Diffstat (limited to 'MdeModulePkg')
-rw-r--r-- | MdeModulePkg/Universal/PlatformDriverOverride/PlatOverMngr/PlatOverMngr.c | 2 | ||||
-rw-r--r-- | MdeModulePkg/Universal/PlatformDriverOverride/PlatOverMngr/PlatOverMngr.h | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/MdeModulePkg/Universal/PlatformDriverOverride/PlatOverMngr/PlatOverMngr.c b/MdeModulePkg/Universal/PlatformDriverOverride/PlatOverMngr/PlatOverMngr.c index a55e2ea0cb..ebd9d18efb 100644 --- a/MdeModulePkg/Universal/PlatformDriverOverride/PlatOverMngr/PlatOverMngr.c +++ b/MdeModulePkg/Universal/PlatformDriverOverride/PlatOverMngr/PlatOverMngr.c @@ -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
diff --git a/MdeModulePkg/Universal/PlatformDriverOverride/PlatOverMngr/PlatOverMngr.h b/MdeModulePkg/Universal/PlatformDriverOverride/PlatOverMngr/PlatOverMngr.h index a4ebeff8a4..12bbf6a3b3 100644 --- a/MdeModulePkg/Universal/PlatformDriverOverride/PlatOverMngr/PlatOverMngr.h +++ b/MdeModulePkg/Universal/PlatformDriverOverride/PlatOverMngr/PlatOverMngr.h @@ -24,9 +24,8 @@ 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
|