diff options
Diffstat (limited to '7zip/Crypto/Rar20/Rar20Cipher.cpp')
-rwxr-xr-x | 7zip/Crypto/Rar20/Rar20Cipher.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/7zip/Crypto/Rar20/Rar20Cipher.cpp b/7zip/Crypto/Rar20/Rar20Cipher.cpp index 322c6ff6..27ccc493 100755 --- a/7zip/Crypto/Rar20/Rar20Cipher.cpp +++ b/7zip/Crypto/Rar20/Rar20Cipher.cpp @@ -42,7 +42,7 @@ STDMETHODIMP CDecoder::Code(ISequentialInStream *inStream, UInt64 nowPos = 0; UInt32 bufferPos = 0; UInt32 processedSize; - while(true) + for (;;) { UInt32 size = kBufferSize - bufferPos; RINOK(inStream->Read(_buffer + bufferPos, size, &processedSize)); |