diff options
Diffstat (limited to '7zip/Compress/LZ/BinTree/BinTreeMain.h')
-rwxr-xr-x | 7zip/Compress/LZ/BinTree/BinTreeMain.h | 4 |
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) { |