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:
authorIgor Pavlov <ipavlov@users.sourceforge.net>2008-08-19 04:00:00 +0400
committerKornel LesiƄski <kornel@geekhood.net>2016-05-28 02:15:57 +0300
commitc10e6b16f6d5484ed896b2c614cb7fb77f336d24 (patch)
treef7a2ac132f883d95c2cf28ab01d58963de1ee811 /C/LzFind.c
parent173c07e166fdf6fcd20f18ea73008f1b628945df (diff)
4.60 beta
Diffstat (limited to 'C/LzFind.c')
-rwxr-xr-xC/LzFind.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/C/LzFind.c b/C/LzFind.c
index d3938548..00c1f5a1 100755
--- a/C/LzFind.c
+++ b/C/LzFind.c
@@ -1,5 +1,5 @@
/* LzFind.c -- Match finder for LZ algorithms
-2008-08-05
+2008-08-17
Copyright (c) 1999-2008 Igor Pavlov
Read LzFind.h for license options */
@@ -263,7 +263,7 @@ static void MatchFinder_SetLimits(CMatchFinder *p)
void MatchFinder_Init(CMatchFinder *p)
{
UInt32 i;
- for(i = 0; i < p->hashSizeSum; i++)
+ for (i = 0; i < p->hashSizeSum; i++)
p->hash[i] = kEmptyHashValue;
p->cyclicBufferPos = 0;
p->buffer = p->bufferBase;
@@ -327,7 +327,7 @@ static UInt32 * Hc_GetMatchesSpec(UInt32 lenLimit, UInt32 curMatch, UInt32 pos,
if (pb[maxLen] == cur[maxLen] && *pb == *cur)
{
UInt32 len = 0;
- while(++len != lenLimit)
+ while (++len != lenLimit)
if (pb[len] != cur[len])
break;
if (maxLen < len)
@@ -364,7 +364,7 @@ UInt32 * GetMatchesSpec1(UInt32 lenLimit, UInt32 curMatch, UInt32 pos, const Byt
if (pb[len] == cur[len])
{
if (++len != lenLimit && pb[len] == cur[len])
- while(++len != lenLimit)
+ while (++len != lenLimit)
if (pb[len] != cur[len])
break;
if (maxLen < len)
@@ -417,7 +417,7 @@ static void SkipMatchesSpec(UInt32 lenLimit, UInt32 curMatch, UInt32 pos, const
UInt32 len = (len0 < len1 ? len0 : len1);
if (pb[len] == cur[len])
{
- while(++len != lenLimit)
+ while (++len != lenLimit)
if (pb[len] != cur[len])
break;
{