summaryrefslogtreecommitdiff
path: root/EdkCompatibilityPkg
diff options
context:
space:
mode:
authorjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>2008-04-11 23:31:48 +0000
committerjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>2008-04-11 23:31:48 +0000
commite1a09a0eaa2de7bb9cd41c98e2f5fa383fb7a401 (patch)
tree20eca9591092765c8718b6bb691da45d89561f5a /EdkCompatibilityPkg
parent02d99367c78526067520ef88ec4fe0d98ad1fb1d (diff)
downloadedk2-platforms-e1a09a0eaa2de7bb9cd41c98e2f5fa383fb7a401.tar.xz
Remove ambiguous auto-increment usage. (gcc warning)
(This code change is in sync with BaseTools TianoCompress code.) git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5057 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'EdkCompatibilityPkg')
-rw-r--r--EdkCompatibilityPkg/Foundation/Library/Pei/PeiLib/Decompress.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/EdkCompatibilityPkg/Foundation/Library/Pei/PeiLib/Decompress.c b/EdkCompatibilityPkg/Foundation/Library/Pei/PeiLib/Decompress.c
index 43446a37dd..d35d946d63 100644
--- a/EdkCompatibilityPkg/Foundation/Library/Pei/PeiLib/Decompress.c
+++ b/EdkCompatibilityPkg/Foundation/Library/Pei/PeiLib/Decompress.c
@@ -337,7 +337,8 @@ Returns:
}
while (Index <= 16) {
- Weight[Index++] = (UINT16) (1U << (16 - Index));
+ Weight[Index] = (UINT16) (1U << (16 - Index));
+ Index++;
}
Index = (UINT16) (Start[TableBits + 1] >> JuBits);