diff options
-rw-r--r-- | EdkModulePkg/Universal/PCD/Dxe/Pcd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/EdkModulePkg/Universal/PCD/Dxe/Pcd.c b/EdkModulePkg/Universal/PCD/Dxe/Pcd.c index 1bde2d8bd4..64191a7161 100644 --- a/EdkModulePkg/Universal/PCD/Dxe/Pcd.c +++ b/EdkModulePkg/Universal/PCD/Dxe/Pcd.c @@ -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 {
|