mirror of https://github.com/acidanthera/audk.git
Fix build bug
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Dandan Bi <dandan.bi@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17592 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
d863e127a2
commit
0cd542268e
|
@ -267,7 +267,7 @@ ProcessUserOpcode(
|
|||
//
|
||||
// process the statement outside of form,if it is formset op, get its formsetguid or classguid and compared with gFrontPageFormSetGuid
|
||||
//
|
||||
if (CompareGuid((EFI_GUID*)PcdGetPtr (PcdFrontPageFormSetGuid),(EFI_GUID*)&((EFI_IFR_FORM_SET *) OpCodeData)->Guid)){
|
||||
if (CompareMem (PcdGetPtr (PcdFrontPageFormSetGuid), &((EFI_IFR_FORM_SET *) OpCodeData)->Guid, sizeof (EFI_GUID)) == 0){
|
||||
gClassOfVfr = FORMSET_CLASS_FRONT_PAGE;
|
||||
} else{
|
||||
ClassGuidNum = (UINT8)(((EFI_IFR_FORM_SET *)OpCodeData)->Flags & 0x3);
|
||||
|
|
Loading…
Reference in New Issue