diff options
author | Dandan Bi <dandan.bi@intel.com> | 2015-06-09 07:09:54 +0000 |
---|---|---|
committer | dandanbi <dandanbi@Edk2> | 2015-06-09 07:09:54 +0000 |
commit | 0cd542268e7fa20b13ed00e74ba3300cc7fcd725 (patch) | |
tree | 758c8e73631d95138a074c5c34e86ee3e795ed0c /MdeModulePkg | |
parent | d863e127a25b2195ca0e01f2c92f139a573e15e9 (diff) | |
download | edk2-platforms-0cd542268e7fa20b13ed00e74ba3300cc7fcd725.tar.xz |
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
Diffstat (limited to 'MdeModulePkg')
-rw-r--r-- | MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLibInternal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLibInternal.c b/MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLibInternal.c index f9032b86de..970adb4876 100644 --- a/MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLibInternal.c +++ b/MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLibInternal.c @@ -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);
|