aboutsummaryrefslogtreecommitdiff
path: root/util/cbfstool/lzma/C/7zip/Common/OutBuffer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'util/cbfstool/lzma/C/7zip/Common/OutBuffer.cpp')
-rw-r--r--util/cbfstool/lzma/C/7zip/Common/OutBuffer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/cbfstool/lzma/C/7zip/Common/OutBuffer.cpp b/util/cbfstool/lzma/C/7zip/Common/OutBuffer.cpp
index a73fa7c5b9..b4c8b7ee48 100644
--- a/util/cbfstool/lzma/C/7zip/Common/OutBuffer.cpp
+++ b/util/cbfstool/lzma/C/7zip/Common/OutBuffer.cpp
@@ -43,9 +43,9 @@ void COutBuffer::Init()
}
UInt64 COutBuffer::GetProcessedSize() const
-{
+{
UInt64 res = _processedSize + _pos - _streamPos;
- if (_streamPos > _pos)
+ if (_streamPos > _pos)
res += _bufferSize;
return res;
}