diff options
author | jljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-04-11 23:31:48 +0000 |
---|---|---|
committer | jljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-04-11 23:31:48 +0000 |
commit | e1a09a0eaa2de7bb9cd41c98e2f5fa383fb7a401 (patch) | |
tree | 20eca9591092765c8718b6bb691da45d89561f5a | |
parent | 02d99367c78526067520ef88ec4fe0d98ad1fb1d (diff) | |
download | edk2-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
-rw-r--r-- | EdkCompatibilityPkg/Foundation/Library/Pei/PeiLib/Decompress.c | 3 |
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);
|