diff options
author | Nathan Moinvaziri <nathan@nathanm.com> | 2020-05-26 17:04:59 -0700 |
---|---|---|
committer | Hans Kristian Rosbach <hk-github@circlestorm.org> | 2020-05-30 21:29:44 +0200 |
commit | a0fa24f92fddf638a3d064389199599d6b5e9a5b (patch) | |
tree | f9c87d4152d0cec505b4d869366ed777c7068625 /deflate.c | |
parent | 5518060c399519ea0ab11deba8635e55e9e14cd9 (diff) |
Remove IPos typedef which also helps to reduce casting warnings.
Diffstat (limited to 'deflate.c')
-rw-r--r-- | deflate.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1215,7 +1215,7 @@ static void lm_init(deflate_state *s) { /* =========================================================================== * Check that the match at match_start is indeed a match. */ -void check_match(deflate_state *s, IPos start, IPos match, int length) { +void check_match(deflate_state *s, Pos start, Pos match, int length) { /* check that the match is indeed a match */ if (memcmp(s->window + match, s->window + start, length) != EQUAL) { fprintf(stderr, " start %u, match %u, length %d\n", start, match, length); |