summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>2010-11-16 08:31:14 +0000
committervanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>2010-11-16 08:31:14 +0000
commitd27658a83aef4d02536584ad4f0e524c4dc67149 (patch)
tree3b481352d3d3894113df33a8c4df094800725f05
parentfb19cc2c71ba2db2106419222934fc699318e4ae (diff)
downloadedk2-d27658a83aef4d02536584ad4f0e524c4dc67149.tar.gz
edk2-d27658a83aef4d02536584ad4f0e524c4dc67149.tar.bz2
edk2-d27658a83aef4d02536584ad4f0e524c4dc67149.zip
sync patch r9931 from main trunk.
Fix ICC build break. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/branches/UDK2008@11062 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r--IntelFrameworkModulePkg/Universal/BdsDxe/DeviceMngr/DeviceManager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/IntelFrameworkModulePkg/Universal/BdsDxe/DeviceMngr/DeviceManager.c b/IntelFrameworkModulePkg/Universal/BdsDxe/DeviceMngr/DeviceManager.c
index f3c3e81d46..17d6efc0c1 100644
--- a/IntelFrameworkModulePkg/Universal/BdsDxe/DeviceMngr/DeviceManager.c
+++ b/IntelFrameworkModulePkg/Universal/BdsDxe/DeviceMngr/DeviceManager.c
@@ -241,7 +241,7 @@ ExtractDisplayedHiiFormFromHiiHandle (
//
// Find FormSet OpCode
//
- ClassGuidNum = ((EFI_IFR_FORM_SET *) OpCodeData)->Flags & 0x03;
+ ClassGuidNum = (UINT8) (((EFI_IFR_FORM_SET *) OpCodeData)->Flags & 0x3);
ClassGuid = (EFI_GUID *) (VOID *)(OpCodeData + sizeof (EFI_IFR_FORM_SET));
while (ClassGuidNum-- > 0) {
if (CompareGuid (SetupClassGuid, ClassGuid)) {