Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/kornelski/7z.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'CPP/7zip/Compress/Huffman/HuffmanDecoder.h')
-rwxr-xr-xCPP/7zip/Compress/Huffman/HuffmanDecoder.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/CPP/7zip/Compress/Huffman/HuffmanDecoder.h b/CPP/7zip/Compress/Huffman/HuffmanDecoder.h
index 57115197..df67e8c9 100755
--- a/CPP/7zip/Compress/Huffman/HuffmanDecoder.h
+++ b/CPP/7zip/Compress/Huffman/HuffmanDecoder.h
@@ -22,7 +22,8 @@ public:
bool SetCodeLengths(const Byte *codeLengths)
{
- int lenCounts[kNumBitsMax + 1], tmpPositions[kNumBitsMax + 1];
+ int lenCounts[kNumBitsMax + 1];
+ UInt32 tmpPositions[kNumBitsMax + 1];
int i;
for(i = 1; i <= kNumBitsMax; i++)
lenCounts[i] = 0;