summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDong, Eric <eric.dong@intel.com>2018-10-27 17:09:21 +0800
committerLiming Gao <liming.gao@intel.com>2018-10-27 22:39:48 +0800
commita6eb94eedb32b79e8721caa6c98ce898b4b7170c (patch)
tree470748f5dacd5a239df3cbfee5599c3986cad33a
parent895415ed47c5796b8e0ddd905f20817f9f4bf114 (diff)
downloadedk2-a6eb94eedb32b79e8721caa6c98ce898b4b7170c.tar.gz
edk2-a6eb94eedb32b79e8721caa6c98ce898b4b7170c.tar.xz
edk2-a6eb94eedb32b79e8721caa6c98ce898b4b7170c.zip
UefiCpuPkg/RegisterCpuFeaturesLib: Fix GCC build failure.HEADmaster
Cc: Liming Gao <liming.gao@intel.com> Cc: Dandan Bi <dandan.bi@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong <eric.dong@intel.com>
-rw-r--r--UefiCpuPkg/Library/RegisterCpuFeaturesLib/RegisterCpuFeatures.h2
-rw-r--r--UefiCpuPkg/Library/RegisterCpuFeaturesLib/RegisterCpuFeaturesLib.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/UefiCpuPkg/Library/RegisterCpuFeaturesLib/RegisterCpuFeatures.h b/UefiCpuPkg/Library/RegisterCpuFeaturesLib/RegisterCpuFeatures.h
index b5fe8fbce1..b4c8ab777e 100644
--- a/UefiCpuPkg/Library/RegisterCpuFeaturesLib/RegisterCpuFeatures.h
+++ b/UefiCpuPkg/Library/RegisterCpuFeaturesLib/RegisterCpuFeatures.h
@@ -203,7 +203,7 @@ CPU_FEATURE_DEPENDENCE_TYPE
DetectFeatureScope (
IN CPU_FEATURES_ENTRY *CpuFeature,
IN BOOLEAN Before,
- IN CHAR8 *NextCpuFeatureMask
+ IN UINT8 *NextCpuFeatureMask
);
/**
diff --git a/UefiCpuPkg/Library/RegisterCpuFeaturesLib/RegisterCpuFeaturesLib.c b/UefiCpuPkg/Library/RegisterCpuFeaturesLib/RegisterCpuFeaturesLib.c
index 9a66bc49ff..394695baf2 100644
--- a/UefiCpuPkg/Library/RegisterCpuFeaturesLib/RegisterCpuFeaturesLib.c
+++ b/UefiCpuPkg/Library/RegisterCpuFeaturesLib/RegisterCpuFeaturesLib.c
@@ -125,7 +125,7 @@ CPU_FEATURE_DEPENDENCE_TYPE
DetectFeatureScope (
IN CPU_FEATURES_ENTRY *CpuFeature,
IN BOOLEAN Before,
- IN CHAR8 *NextCpuFeatureMask
+ IN UINT8 *NextCpuFeatureMask
)
{
//