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:
bbahnsen 2006-05-30 16:33:09 +00:00
parent fb6d4eb2ea
commit dcec76514f
1 changed files with 1 additions and 1 deletions

View File

@ -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 {