Browse Source

* [uutlCompression] fix wrong pointer arithmetics

master
Martok 8 years ago
parent
commit
307544c0cf
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      uutlCompression.pas

+ 1
- 1
uutlCompression.pas View File

@@ -1082,7 +1082,7 @@ begin
if res < 0 then
Exit;
// setup writing to next part
inc(fStream.next_out, current_read);
fStream.next_out:= @Tbytearray(Buffer)[Result];
dec(Count, current_read);
fStream.avail_out:= Count;
// re-read from this new block


Loading…
Cancel
Save