aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2019-06-25 23:15:21 +0300
committerLasse Collin <lasse.collin@tukaani.org>2019-12-31 22:26:38 +0200
commit0e491aa8cd72e0100cd15c1b9469cd57fae500b0 (patch)
tree57722161305f940dad5647a766d06a78e7bf2abb
parentconfigure.ac: Fix a typo in a comment. (diff)
downloadxz-0e491aa8cd72e0100cd15c1b9469cd57fae500b0.tar.xz
liblzma: Fix a buggy comment.
-rw-r--r--src/liblzma/lz/lz_encoder_mf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/liblzma/lz/lz_encoder_mf.c b/src/liblzma/lz/lz_encoder_mf.c
index 78520779..d03657a7 100644
--- a/src/liblzma/lz/lz_encoder_mf.c
+++ b/src/liblzma/lz/lz_encoder_mf.c
@@ -113,7 +113,7 @@ normalize(lzma_mf *mf)
// may be match finders that use larger resolution than one byte.
const uint32_t subvalue
= (MUST_NORMALIZE_POS - mf->cyclic_size);
- // & (~(UINT32_C(1) << 10) - 1);
+ // & ~((UINT32_C(1) << 10) - 1);
for (uint32_t i = 0; i < mf->hash_count; ++i) {
// If the distance is greater than the dictionary size,