Fix more gcc build breaks. One of these was a subtle bug in the code that was caught by a gcc warning.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@297 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
bbahnsen
2006-05-26 18:49:15 +00:00
parent f2982b30b2
commit b560bb65c4
2 changed files with 2 additions and 2 deletions

View File

@@ -493,7 +493,7 @@ PeiPcdGetNextToken (
BOOLEAN Found;
if (Guid == NULL) {
*TokenNumber++;
(*TokenNumber)++;
if (*TokenNumber >= PEI_NEX_TOKEN_NUMBER) {
*TokenNumber = 0;