summaryrefslogtreecommitdiff
path: root/EdkModulePkg/Universal
diff options
context:
space:
mode:
authorbbahnsen <bbahnsen@6f19259b-4bc3-4df7-8a09-765794883524>2006-05-30 16:33:09 +0000
committerbbahnsen <bbahnsen@6f19259b-4bc3-4df7-8a09-765794883524>2006-05-30 16:33:09 +0000
commitdcec76514f12c39d6d8725dc1080be0728ad8eab (patch)
tree93637c7058762fff5548fcff8ba789d7c95672c5 /EdkModulePkg/Universal
parentfb6d4eb2ea495a8a8e077f95e1ea87ff31322634 (diff)
downloadedk2-platforms-dcec76514f12c39d6d8725dc1080be0728ad8eab.tar.xz
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
Diffstat (limited to 'EdkModulePkg/Universal')
-rw-r--r--EdkModulePkg/Universal/PCD/Dxe/Pcd.c2
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 {