mirror of
https://github.com/acidanthera/audk.git
synced 2025-04-08 17:05:09 +02:00
Fix gcc build break. The PCD TokenNumber is incremented, not the address of the PCD TokenNumber.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@325 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
fb6d4eb2ea
commit
dcec76514f
@ -511,7 +511,7 @@ DxePcdGetNextToken (
|
||||
// Scan the local token space
|
||||
//
|
||||
if (Guid == NULL) {
|
||||
*TokenNumber++;
|
||||
(*TokenNumber)++;
|
||||
if (*TokenNumber == PCD_INVALID_TOKEN_NUMBER) {
|
||||
return EFI_SUCCESS;
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user