mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-20 04:04:27 +02:00
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:
parent
648944102a
commit
573e0a48c8
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user