diff options
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/deflate.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/deflate.cc b/src/lib/deflate.cc index 1349d48..e475419 100644 --- a/src/lib/deflate.cc +++ b/src/lib/deflate.cc @@ -250,7 +250,7 @@ static int8_t deflate_huffman(uint8_t * ll_lengths, uint16_t ll_size, return DEFLATE_ERR_OUTPUT_LENGTH; } deflate_output_now[0] = - deflate_output_now[-dist_val]; + *(deflate_output_now - dist_val); deflate_output_now++; } } |