Sfoglia il codice sorgente

* [uutlCompression] fix wrong pointer arithmetics

master
Martok 8 anni fa
parent
commit
307544c0cf
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      uutlCompression.pas

+ 1
- 1
uutlCompression.pas Vedi 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


Caricamento…
Annulla
Salva