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/LZInWindow.h')
-rwxr-xr-x7zip/Compress/LZ/LZInWindow.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/7zip/Compress/LZ/LZInWindow.h b/7zip/Compress/LZ/LZInWindow.h
index 54f2cb7b..20e0331b 100755
--- a/7zip/Compress/LZ/LZInWindow.h
+++ b/7zip/Compress/LZ/LZInWindow.h
@@ -79,7 +79,7 @@ public:
bool NeedMove(UInt32 numCheckBytes)
{
- UInt32 reserv = _pointerToLastSafePosition - (_buffer + _pos);
+ size_t reserv = (size_t)(_pointerToLastSafePosition - (_buffer + _pos));
return (reserv <= numCheckBytes);
}
};