From 81b7a609893d2b8fa38fee2f5630925c929fda5f Mon Sep 17 00:00:00 2001 From: niruiyu Date: Tue, 13 Sep 2011 05:10:33 +0000 Subject: [PATCH] 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 --- SecurityPkg/Tcg/TcgConfigDxe/TcgConfigDriver.c | 2 +- SecurityPkg/Tcg/TcgConfigDxe/TcgConfigImpl.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/SecurityPkg/Tcg/TcgConfigDxe/TcgConfigDriver.c b/SecurityPkg/Tcg/TcgConfigDxe/TcgConfigDriver.c index 4b2008f577..2ec33e069e 100644 --- a/SecurityPkg/Tcg/TcgConfigDxe/TcgConfigDriver.c +++ b/SecurityPkg/Tcg/TcgConfigDxe/TcgConfigDriver.c @@ -71,7 +71,7 @@ TcgConfigDriverEntryPoint ( } PrivateData->TcgProtocol = TcgProtocol; - PrivateData->HideTpm = PcdGetBool (PcdHideTpmSupport) && PcdGetBool (PcdHideTpm); + PrivateData->HideTpm = (BOOLEAN) (PcdGetBool (PcdHideTpmSupport) && PcdGetBool (PcdHideTpm)); // // Install TCG configuration form diff --git a/SecurityPkg/Tcg/TcgConfigDxe/TcgConfigImpl.c b/SecurityPkg/Tcg/TcgConfigDxe/TcgConfigImpl.c index 535f5e852a..0127819a90 100644 --- a/SecurityPkg/Tcg/TcgConfigDxe/TcgConfigImpl.c +++ b/SecurityPkg/Tcg/TcgConfigDxe/TcgConfigImpl.c @@ -184,7 +184,7 @@ TcgExtractConfig ( Configuration.MorState = PcdGetBool (PcdMorEnable); 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. // -- 2.39.2