Correctly use GetPtrTypeSize() to get MaxSize.

Signed-off-by: lgao4


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12790 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
lgao4 2011-11-28 03:43:26 +00:00
parent 648944102a
commit 573e0a48c8
1 changed files with 1 additions and 1 deletions

View File

@ -618,7 +618,7 @@ GetWorker (
if ((LocalTokenNumber & PCD_TYPE_SKU_ENABLED) == PCD_TYPE_SKU_ENABLED) {
if (GetSize == 0) {
MaxSize = GetPtrTypeSize (TokenNumber, &MaxSize, PeiPcdDb);
GetPtrTypeSize (TokenNumber, &MaxSize, PeiPcdDb);
} else {
MaxSize = GetSize;
}