4.39 beta

This commit is contained in:
Igor Pavlov
2006-04-14 00:00:00 +00:00
committed by Kornel Lesiński
parent 83911c8529
commit 3415684502
5 changed files with 13 additions and 9 deletions

View File

@@ -479,7 +479,11 @@ void CMatchFinder::Normalize()
{
UInt32 subValue = _pos - _cyclicBufferSize;
CIndex *items = _hash;
UInt32 numItems = (_hashSizeSum + _cyclicBufferSize * 2);
UInt32 numItems = (_hashSizeSum + _cyclicBufferSize
#ifndef _HASH_CHAIN
* 2
#endif
);
for (UInt32 i = 0; i < numItems; i++)
{
UInt32 value = items[i];