diff --git a/uppsrc/Core/Stream.cpp b/uppsrc/Core/Stream.cpp index b20795556..3933992f1 100644 --- a/uppsrc/Core/Stream.cpp +++ b/uppsrc/Core/Stream.cpp @@ -455,7 +455,7 @@ void Stream::Put(Stream& s, int64 size, dword click) { dword n = s.Get(buffer, (int)min(click, size)); if(n == 0) break; - Put(buffer.operator const byte *(), click); + Put(~buffer, n); size -= n; } }