diff options
Diffstat (limited to 'source/fitz/filter-leech.c')
-rw-r--r-- | source/fitz/filter-leech.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/fitz/filter-leech.c b/source/fitz/filter-leech.c index 90e28565..c8f28b7c 100644 --- a/source/fitz/filter-leech.c +++ b/source/fitz/filter-leech.c @@ -11,11 +11,11 @@ struct fz_leech_s }; static int -next_leech(fz_context *ctx, fz_stream *stm, int max) +next_leech(fz_context *ctx, fz_stream *stm, size_t max) { fz_leech *state = stm->state; fz_buffer *buffer = state->buffer; - int n = fz_available(ctx, state->chain, max); + size_t n = fz_available(ctx, state->chain, max); if (n > max) n = max; |