OptionMap->Guid may not align on UINT32 baundary.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5755 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
qwang12 2008-08-29 06:47:11 +00:00
parent 4386f14350
commit 4406efb42b
1 changed files with 1 additions and 1 deletions

View File

@ -429,7 +429,7 @@ CreateQuestionIdMap (
InsertTailList (OneOfOptinMapEntryListHead, &OneOfOptionMapEntry->Link);
}
}else if (CompareGuid (&OptionMap->Guid, &gTianoHiiIfrGuid)) {
}else if (CompareMem (&OptionMap->Guid, &gTianoHiiIfrGuid, sizeof (EFI_GUID))) {
Class = (EFI_IFR_GUID_CLASS *) OpCode;
switch (Class->ExtendOpCode) {