summaryrefslogtreecommitdiffstats
path: root/src/misc/zlib/deflate.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/misc/zlib/deflate.c')
-rw-r--r--src/misc/zlib/deflate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/misc/zlib/deflate.c b/src/misc/zlib/deflate.c
index 04dcbf09..934196c8 100644
--- a/src/misc/zlib/deflate.c
+++ b/src/misc/zlib/deflate.c
@@ -1232,7 +1232,7 @@ local void check_match(deflate_state *s, IPos start, IPos match, int length)
{
/* check that the match is indeed a match */
if (zmemcmp(s->window + match,
- s->window + start, length) != EQUAL) {
+ s->window + start, (size_t)length) != EQUAL) {
fprintf(stderr, " start %u, match %u, length %d\n",
start, match, length);
do {