mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-08 22:34:24 +02:00
1.Coding style checked
2.CompareMem() replaced by CompareGuid() git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7182 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
779808545d
commit
54656366f9
@ -155,7 +155,7 @@ UpdateFormPackageData (
|
|||||||
switch (IfrOpHdr->OpCode) {
|
switch (IfrOpHdr->OpCode) {
|
||||||
case EFI_IFR_FORM_SET_OP :
|
case EFI_IFR_FORM_SET_OP :
|
||||||
if (FormSetGuid != NULL) {
|
if (FormSetGuid != NULL) {
|
||||||
if (CompareMem (&((EFI_IFR_FORM_SET *) IfrOpHdr)->Guid, FormSetGuid, sizeof (EFI_GUID)) == 0) {
|
if (CompareGuid((GUID *)(VOID *)&((EFI_IFR_FORM_SET *) IfrOpHdr)->Guid, FormSetGuid)) {
|
||||||
GetFormSet = TRUE;
|
GetFormSet = TRUE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user