diff options
author | bbahnsen <bbahnsen@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-05-30 16:33:09 +0000 |
---|---|---|
committer | bbahnsen <bbahnsen@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-05-30 16:33:09 +0000 |
commit | dcec76514f12c39d6d8725dc1080be0728ad8eab (patch) | |
tree | 93637c7058762fff5548fcff8ba789d7c95672c5 /EdkModulePkg | |
parent | fb6d4eb2ea495a8a8e077f95e1ea87ff31322634 (diff) | |
download | edk2-dcec76514f12c39d6d8725dc1080be0728ad8eab.tar.gz edk2-dcec76514f12c39d6d8725dc1080be0728ad8eab.tar.bz2 edk2-dcec76514f12c39d6d8725dc1080be0728ad8eab.zip |
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')
-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 {
|