diff options
author | Igor Pavlov <ipavlov@users.sourceforge.net> | 2007-07-25 04:00:00 +0400 |
---|---|---|
committer | Kornel LesiĆski <kornel@geekhood.net> | 2016-05-28 02:15:53 +0300 |
commit | d14d4dcdefbef6695a618c3cdac05ba2ede5572e (patch) | |
tree | 65019d5f1b2f6f1a75436eb73494a59d79ec9fc7 /CPP/7zip/Archive | |
parent | 980e181dcc9d64312a4dddfa58f80770506f27f5 (diff) |
4.51 beta
Diffstat (limited to 'CPP/7zip/Archive')
-rwxr-xr-x | CPP/7zip/Archive/7z/7zIn.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CPP/7zip/Archive/7z/7zIn.cpp b/CPP/7zip/Archive/7z/7zIn.cpp index 4f867708..e04313be 100755 --- a/CPP/7zip/Archive/7z/7zIn.cpp +++ b/CPP/7zip/Archive/7z/7zIn.cpp @@ -188,7 +188,7 @@ UInt64 CInByte2::ReadUInt64() void CInByte2::ReadString(UString &s) { const Byte *buf = _buffer + _pos; - size_t rem = (_size - _pos) / 2; + size_t rem = (_size - _pos) / 2 * 2; { size_t i; for (i = 0; i < rem; i += 2) |