summaryrefslogtreecommitdiff
path: root/deflate.c
diff options
context:
space:
mode:
authorNathan Moinvaziri <nathan@nathanm.com>2020-05-26 17:04:59 -0700
committerHans Kristian Rosbach <hk-github@circlestorm.org>2020-05-30 21:29:44 +0200
commita0fa24f92fddf638a3d064389199599d6b5e9a5b (patch)
treef9c87d4152d0cec505b4d869366ed777c7068625 /deflate.c
parent5518060c399519ea0ab11deba8635e55e9e14cd9 (diff)
Remove IPos typedef which also helps to reduce casting warnings.
Diffstat (limited to 'deflate.c')
-rw-r--r--deflate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/deflate.c b/deflate.c
index 5e31ad0..37afe4d 100644
--- a/deflate.c
+++ b/deflate.c
@@ -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);