From 0e84c79eee422eb4724ff25baa4183d5e0fdb662 Mon Sep 17 00:00:00 2001 From: Robin Watts Date: Thu, 6 Oct 2016 13:34:10 +0100 Subject: Fix signed/unsigned warning in filter-thunder.c --- source/fitz/filter-thunder.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/fitz/filter-thunder.c') diff --git a/source/fitz/filter-thunder.c b/source/fitz/filter-thunder.c index 66ac37e7..6e11ac5f 100644 --- a/source/fitz/filter-thunder.c +++ b/source/fitz/filter-thunder.c @@ -25,8 +25,8 @@ next_thunder(fz_context *ctx, fz_stream *stm, size_t max) unsigned char *ep; int c, v, i, pixels, index; - if (max > state->len) - max = state->len; + if (max > (size_t)state->len) + max = (size_t)state->len; ep = p + max; -- cgit v1.2.3