diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/liblzma/lz/lz_encoder.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/liblzma/lz/lz_encoder.h b/src/liblzma/lz/lz_encoder.h index 4904c229..35e9ebbf 100644 --- a/src/liblzma/lz/lz_encoder.h +++ b/src/liblzma/lz/lz_encoder.h @@ -234,7 +234,7 @@ mf_avail(const lzma_mf *mf) static inline uint32_t mf_unencoded(const lzma_mf *mf) { - return mf->write_pos - mf->read_pos - mf->read_ahead; + return mf->write_pos - mf->read_pos + mf->read_ahead; } |