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-06-25 23:15:21 +0300
commit8ce679125dbd0e2058d8f886e738d7f19a45cab5 (patch)
tree2f96c039dca12ebb8db5b723ee33573b0296a7bc
parentconfigure.ac: Fix a typo in a comment. (diff)
downloadxz-8ce679125dbd0e2058d8f886e738d7f19a45cab5.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,