diff options
author | Liming Gao <liming.gao@intel.com> | 2018-02-27 13:37:11 +0800 |
---|---|---|
committer | Liming Gao <liming.gao@intel.com> | 2018-02-27 18:43:31 +0800 |
commit | f0c69b614cf56df1e7908574111d92864ca3ee9c (patch) | |
tree | 6873d70a9453c5e7d26c71a56faeefbb2d8f0ea1 /MdeModulePkg/Universal | |
parent | f71503c37c4815caa4c8b7afe53df7c2fc220530 (diff) | |
download | edk2-f0c69b614cf56df1e7908574111d92864ca3ee9c.zip edk2-f0c69b614cf56df1e7908574111d92864ca3ee9c.tar.gz edk2-f0c69b614cf56df1e7908574111d92864ca3ee9c.tar.bz2 |
MdeModulePkg PCD: Fix the issue to set the big SkuId
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Liming Gao <liming.gao@intel.com>
Cc: Star Zeng <star.zeng@intel.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
Diffstat (limited to 'MdeModulePkg/Universal')
-rw-r--r-- | MdeModulePkg/Universal/PCD/Dxe/Service.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MdeModulePkg/Universal/PCD/Dxe/Service.c b/MdeModulePkg/Universal/PCD/Dxe/Service.c index 2745cf5..1e487f0 100644 --- a/MdeModulePkg/Universal/PCD/Dxe/Service.c +++ b/MdeModulePkg/Universal/PCD/Dxe/Service.c @@ -788,7 +788,7 @@ UpdatePcdDatabase ( SkuDelta = NULL;
while (Index < mPeiPcdDbSize) {
SkuDelta = (PCD_DATABASE_SKU_DELTA *) ((UINT8 *) mPeiPcdDbBinary + Index);
- if (SkuDelta->SkuId == (UINT16) SkuId && SkuDelta->SkuIdCompared == 0) {
+ if (SkuDelta->SkuId == SkuId && SkuDelta->SkuIdCompared == 0) {
break;
}
Index = (Index + SkuDelta->Length + 7) & (~7);
|