From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 5CCF48214C for ; Thu, 23 Feb 2017 17:56:11 -0800 (PST) Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga105.fm.intel.com with ESMTP; 23 Feb 2017 17:56:10 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.35,199,1484035200"; d="scan'208";a="61673107" Received: from shwdeopenpsi068.ccr.corp.intel.com ([10.239.9.22]) by orsmga004.jf.intel.com with ESMTP; 23 Feb 2017 17:56:09 -0800 From: Star Zeng To: edk2-devel@lists.01.org Cc: Star Zeng , Feng Tian , Jiewen Yao Date: Fri, 24 Feb 2017 09:56:06 +0800 Message-Id: <1487901366-27604-1-git-send-email-star.zeng@intel.com> X-Mailer: git-send-email 2.7.0.windows.1 Subject: [PATCH] MdeModulePkg SmmSmiHandlerProfileLib: Fix GCC build failure X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Feb 2017 01:56:11 -0000 Cc: Feng Tian Cc: Jiewen Yao Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng --- MdeModulePkg/Library/SmmSmiHandlerProfileLib/SmmSmiHandlerProfileLib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MdeModulePkg/Library/SmmSmiHandlerProfileLib/SmmSmiHandlerProfileLib.c b/MdeModulePkg/Library/SmmSmiHandlerProfileLib/SmmSmiHandlerProfileLib.c index 0191cdebbf12..2edc71be3efb 100644 --- a/MdeModulePkg/Library/SmmSmiHandlerProfileLib/SmmSmiHandlerProfileLib.c +++ b/MdeModulePkg/Library/SmmSmiHandlerProfileLib/SmmSmiHandlerProfileLib.c @@ -99,7 +99,7 @@ SmmSmiHandlerProfileLibConstructor ( gSmst->SmmLocateProtocol ( &gSmiHandlerProfileGuid, NULL, - &mSmiHandlerProfile + (VOID **) &mSmiHandlerProfile ); return EFI_SUCCESS; } -- 2.7.0.windows.1