diff options
author | Robin Watts <robin.watts@artifex.com> | 2016-10-06 13:34:10 +0100 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2016-10-07 16:56:46 +0100 |
commit | 0e84c79eee422eb4724ff25baa4183d5e0fdb662 (patch) | |
tree | 691eba4de40da2205887c838d93b271cbb23c4e2 | |
parent | e173e02141bc77563e94db4523c78c31471af4be (diff) | |
download | mupdf-0e84c79eee422eb4724ff25baa4183d5e0fdb662.tar.xz |
Fix signed/unsigned warning in filter-thunder.c
-rw-r--r-- | source/fitz/filter-thunder.c | 4 |
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; |