summaryrefslogtreecommitdiffstats
path: root/MdeModulePkg/Library/SmmSmiHandlerProfileLib
diff options
context:
space:
mode:
authorStar Zeng <star.zeng@intel.com>2017-02-24 09:52:58 +0800
committerStar Zeng <star.zeng@intel.com>2017-02-24 10:46:14 +0800
commit8c1183a8793f1fc8ff1152e4e82fc2bfd9b2aede (patch)
tree6d89970d262980f55d7fc936592dd0bf14886144 /MdeModulePkg/Library/SmmSmiHandlerProfileLib
parentfc7bd8939d56da5da24ec8ddc9976245ffc42b69 (diff)
downloadedk2-8c1183a8793f1fc8ff1152e4e82fc2bfd9b2aede.tar.gz
edk2-8c1183a8793f1fc8ff1152e4e82fc2bfd9b2aede.tar.bz2
edk2-8c1183a8793f1fc8ff1152e4e82fc2bfd9b2aede.zip
MdeModulePkg SmmSmiHandlerProfileLib: Fix GCC build failure
Cc: Feng Tian <feng.tian@intel.com> Cc: Jiewen Yao <jiewen.yao@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng <star.zeng@intel.com> Reviewed-by: Feng Tian <feng.tian@intel.com> Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
Diffstat (limited to 'MdeModulePkg/Library/SmmSmiHandlerProfileLib')
-rw-r--r--MdeModulePkg/Library/SmmSmiHandlerProfileLib/SmmSmiHandlerProfileLib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/MdeModulePkg/Library/SmmSmiHandlerProfileLib/SmmSmiHandlerProfileLib.c b/MdeModulePkg/Library/SmmSmiHandlerProfileLib/SmmSmiHandlerProfileLib.c
index 0191cdebbf..2edc71be3e 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;
}