Fix ICC build failure.

Signed-off-by: niruiyu

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12331 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
niruiyu 2011-09-13 05:10:33 +00:00
parent 1a2ad6fca7
commit 81b7a60989
2 changed files with 2 additions and 2 deletions

View File

@ -71,7 +71,7 @@ TcgConfigDriverEntryPoint (
} }
PrivateData->TcgProtocol = TcgProtocol; PrivateData->TcgProtocol = TcgProtocol;
PrivateData->HideTpm = PcdGetBool (PcdHideTpmSupport) && PcdGetBool (PcdHideTpm); PrivateData->HideTpm = (BOOLEAN) (PcdGetBool (PcdHideTpmSupport) && PcdGetBool (PcdHideTpm));
// //
// Install TCG configuration form // Install TCG configuration form

View File

@ -184,7 +184,7 @@ TcgExtractConfig (
Configuration.MorState = PcdGetBool (PcdMorEnable); Configuration.MorState = PcdGetBool (PcdMorEnable);
Configuration.TpmOperation = ENABLE; Configuration.TpmOperation = ENABLE;
Configuration.HideTpm = PcdGetBool (PcdHideTpmSupport) && PcdGetBool (PcdHideTpm); Configuration.HideTpm = (BOOLEAN) (PcdGetBool (PcdHideTpmSupport) && PcdGetBool (PcdHideTpm));
// //
// Read the original value of HideTpm from PrivateData which won't be changed by Setup in this boot. // Read the original value of HideTpm from PrivateData which won't be changed by Setup in this boot.
// //