]> git.ipfire.org Git - thirdparty/zlib-ng.git/commit
zng_tr_tally_lit: disable -Wtype-limits
authorIlya Leoshkevich <iii@linux.ibm.com>
Tue, 21 Jul 2020 11:15:07 +0000 (13:15 +0200)
committerHans Kristian Rosbach <hk-github@circlestorm.org>
Sun, 23 Aug 2020 08:07:07 +0000 (10:07 +0200)
commit24c442c606d9121da64b25693c9bb1a898b3553f
tree6a5ad1d771b9913aed651ca9ecc9c0edee58caa8
parenta540c3f9638aadde613e1d14042d67b4a644b934
zng_tr_tally_lit: disable -Wtype-limits

Some gcc versions complain that parameter c is always less than
MAX_MATCH-MIN_MATCH, and therefore the assertion that checks for this
is useless, but in reality some day MIN_MATCH and MAX_MATCH can change.

So disable the warning around the assertion.
deflate_p.h