mirror of https://github.com/acidanthera/audk.git
Fix ICC build break.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8158 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
14c6da21c6
commit
7da7367655
|
@ -1083,7 +1083,7 @@ ParseOpCodes (
|
|||
//
|
||||
// The formset OpCode contains ClassGuid
|
||||
//
|
||||
FormSet->NumberOfClassGuid = ((EFI_IFR_FORM_SET *) OpCodeData)->Flags & 0x3;
|
||||
FormSet->NumberOfClassGuid = (UINT8) (((EFI_IFR_FORM_SET *) OpCodeData)->Flags & 0x3);
|
||||
CopyMem (FormSet->ClassGuid, OpCodeData + sizeof (EFI_IFR_FORM_SET), FormSet->NumberOfClassGuid * sizeof (EFI_GUID));
|
||||
break;
|
||||
|
||||
|
|
|
@ -515,7 +515,7 @@ DisplayForm (
|
|||
}
|
||||
|
||||
if (Statement->DisableExpression != NULL) {
|
||||
Suppress = Suppress || Statement->DisableExpression->Result.Value.b;
|
||||
Suppress = (BOOLEAN) (Suppress || Statement->DisableExpression->Result.Value.b);
|
||||
}
|
||||
|
||||
if (!Suppress) {
|
||||
|
|
|
@ -2225,7 +2225,7 @@ GetIfrBinaryData (
|
|||
// Check ClassGuid of formset OpCode
|
||||
//
|
||||
IsSetupClassGuid = FALSE;
|
||||
NumberOfClassGuid = ((EFI_IFR_FORM_SET *) OpCodeData)->Flags & 0x3;
|
||||
NumberOfClassGuid = (UINT8) (((EFI_IFR_FORM_SET *) OpCodeData)->Flags & 0x3);
|
||||
ClassGuid = (EFI_GUID *) (OpCodeData + sizeof (EFI_IFR_FORM_SET));
|
||||
for (Index = 0; Index < NumberOfClassGuid; Index++) {
|
||||
if (CompareGuid (ClassGuid + Index, &gEfiHiiPlatformSetupFormsetGuid)) {
|
||||
|
|
Loading…
Reference in New Issue