summaryrefslogtreecommitdiff
path: root/source/fitz/filter-thunder.c
diff options
context:
space:
mode:
authorRobin Watts <robin.watts@artifex.com>2016-10-06 13:34:10 +0100
committerRobin Watts <robin.watts@artifex.com>2016-10-07 16:56:46 +0100
commit0e84c79eee422eb4724ff25baa4183d5e0fdb662 (patch)
tree691eba4de40da2205887c838d93b271cbb23c4e2 /source/fitz/filter-thunder.c
parente173e02141bc77563e94db4523c78c31471af4be (diff)
downloadmupdf-0e84c79eee422eb4724ff25baa4183d5e0fdb662.tar.xz
Fix signed/unsigned warning in filter-thunder.c
Diffstat (limited to 'source/fitz/filter-thunder.c')
-rw-r--r--source/fitz/filter-thunder.c4
1 files changed, 2 insertions, 2 deletions
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;