Fix ICC build failure.
authorniruiyu <niruiyu@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 13 Sep 2011 05:10:33 +0000 (05:10 +0000)
committerniruiyu <niruiyu@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 13 Sep 2011 05:10:33 +0000 (05:10 +0000)
Signed-off-by: niruiyu
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12331 6f19259b-4bc3-4df7-8a09-765794883524

SecurityPkg/Tcg/TcgConfigDxe/TcgConfigDriver.c
SecurityPkg/Tcg/TcgConfigDxe/TcgConfigImpl.c

index 4b2008f..2ec33e0 100644 (file)
@@ -71,7 +71,7 @@ TcgConfigDriverEntryPoint (
   }\r
   \r
   PrivateData->TcgProtocol = TcgProtocol;\r
-  PrivateData->HideTpm     = PcdGetBool (PcdHideTpmSupport) && PcdGetBool (PcdHideTpm);\r
+  PrivateData->HideTpm     = (BOOLEAN) (PcdGetBool (PcdHideTpmSupport) && PcdGetBool (PcdHideTpm));\r
   \r
   //\r
   // Install TCG configuration form\r
index 535f5e8..0127819 100644 (file)
@@ -184,7 +184,7 @@ TcgExtractConfig (
 \r
   Configuration.MorState        = PcdGetBool (PcdMorEnable);\r
   Configuration.TpmOperation    = ENABLE;\r
-  Configuration.HideTpm         = PcdGetBool (PcdHideTpmSupport) && PcdGetBool (PcdHideTpm);\r
+  Configuration.HideTpm         = (BOOLEAN) (PcdGetBool (PcdHideTpmSupport) && PcdGetBool (PcdHideTpm));\r
   //\r
   // Read the original value of HideTpm from PrivateData which won't be changed by Setup in this boot.\r
   //\r