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 '7zip/Compress/LZ/BinTree/BinTreeMain.h')
-rwxr-xr-x7zip/Compress/LZ/BinTree/BinTreeMain.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/7zip/Compress/LZ/BinTree/BinTreeMain.h b/7zip/Compress/LZ/BinTree/BinTreeMain.h
index 7a6f621a..ef9f6ce2 100755
--- a/7zip/Compress/LZ/BinTree/BinTreeMain.h
+++ b/7zip/Compress/LZ/BinTree/BinTreeMain.h
@@ -285,7 +285,7 @@ STDMETHODIMP CMatchFinder::GetMatches(UInt32 *distances)
}
#endif
UInt32 count = _cutValue;
- while(true)
+ for (;;)
{
if(curMatch <= matchMinPos || count-- == 0)
{
@@ -418,7 +418,7 @@ STDMETHODIMP CMatchFinder::Skip(UInt32 num)
UInt32 len0, len1;
len0 = len1 = kNumHashDirectBytes;
UInt32 count = _cutValue;
- while(true)
+ for (;;)
{
if(curMatch <= matchMinPos || count-- == 0)
{