mirror of https://github.com/acidanthera/audk.git
Fix build fail for VS2005 tool chain.
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Eric Dong <eric.dong@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16451 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
0133195170
commit
2e097165e9
|
@ -1525,7 +1525,7 @@ IsSavedHighlightStatement (
|
||||||
if ((gFormData->HiiHandle == gHighligthMenuInfo.HiiHandle) &&
|
if ((gFormData->HiiHandle == gHighligthMenuInfo.HiiHandle) &&
|
||||||
(gFormData->FormId == gHighligthMenuInfo.FormId)) {
|
(gFormData->FormId == gHighligthMenuInfo.FormId)) {
|
||||||
if (gHighligthMenuInfo.HLTQuestionId != 0) {
|
if (gHighligthMenuInfo.HLTQuestionId != 0) {
|
||||||
return (gHighligthMenuInfo.HLTQuestionId == GetQuestionIdInfo (HighLightedStatement->OpCode));
|
return (BOOLEAN) (gHighligthMenuInfo.HLTQuestionId == GetQuestionIdInfo (HighLightedStatement->OpCode));
|
||||||
} else {
|
} else {
|
||||||
if (CompareMem (gHighligthMenuInfo.HLTOpCode, HighLightedStatement->OpCode, gHighligthMenuInfo.HLTOpCode->Length) == 0) {
|
if (CompareMem (gHighligthMenuInfo.HLTOpCode, HighLightedStatement->OpCode, gHighligthMenuInfo.HLTOpCode->Length) == 0) {
|
||||||
if (gHighligthMenuInfo.HLTIndex == 0 || gHighligthMenuInfo.HLTIndex == GetIndexInfoForOpcode(HighLightedStatement->OpCode)) {
|
if (gHighligthMenuInfo.HLTIndex == 0 || gHighligthMenuInfo.HLTIndex == GetIndexInfoForOpcode(HighLightedStatement->OpCode)) {
|
||||||
|
@ -1556,12 +1556,12 @@ IsHighLightMenuOption (
|
||||||
{
|
{
|
||||||
if (gHighligthMenuInfo.HLTQuestionId != 0) {
|
if (gHighligthMenuInfo.HLTQuestionId != 0) {
|
||||||
if (GetQuestionIdInfo(MenuOption->ThisTag->OpCode) == gHighligthMenuInfo.HLTQuestionId) {
|
if (GetQuestionIdInfo(MenuOption->ThisTag->OpCode) == gHighligthMenuInfo.HLTQuestionId) {
|
||||||
return (MenuOption->Sequence == gHighligthMenuInfo.HLTSequence);
|
return (BOOLEAN) (MenuOption->Sequence == gHighligthMenuInfo.HLTSequence);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if(CompareMem (gHighligthMenuInfo.HLTOpCode, MenuOption->ThisTag->OpCode, gHighligthMenuInfo.HLTOpCode->Length) == 0) {
|
if(CompareMem (gHighligthMenuInfo.HLTOpCode, MenuOption->ThisTag->OpCode, gHighligthMenuInfo.HLTOpCode->Length) == 0) {
|
||||||
if (gHighligthMenuInfo.HLTIndex == 0 || gHighligthMenuInfo.HLTIndex == GetIndexInfoForOpcode(MenuOption->ThisTag->OpCode)) {
|
if (gHighligthMenuInfo.HLTIndex == 0 || gHighligthMenuInfo.HLTIndex == GetIndexInfoForOpcode(MenuOption->ThisTag->OpCode)) {
|
||||||
return (MenuOption->Sequence == gHighligthMenuInfo.HLTSequence);
|
return (BOOLEAN) (MenuOption->Sequence == gHighligthMenuInfo.HLTSequence);
|
||||||
} else {
|
} else {
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
@ -1648,7 +1648,7 @@ IsTopOfScreeMenuOption (
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
if (gHighligthMenuInfo.TOSQuestionId != 0) {
|
if (gHighligthMenuInfo.TOSQuestionId != 0) {
|
||||||
return (GetQuestionIdInfo(MenuOption->ThisTag->OpCode) == gHighligthMenuInfo.TOSQuestionId);
|
return (BOOLEAN) (GetQuestionIdInfo(MenuOption->ThisTag->OpCode) == gHighligthMenuInfo.TOSQuestionId);
|
||||||
}
|
}
|
||||||
|
|
||||||
if(CompareMem (gHighligthMenuInfo.TOSOpCode, MenuOption->ThisTag->OpCode, gHighligthMenuInfo.TOSOpCode->Length) == 0) {
|
if(CompareMem (gHighligthMenuInfo.TOSOpCode, MenuOption->ThisTag->OpCode, gHighligthMenuInfo.TOSOpCode->Length) == 0) {
|
||||||
|
|
Loading…
Reference in New Issue