diff options
author | Robin Watts <Robin.Watts@artifex.com> | 2017-06-13 13:27:20 +0100 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2017-06-16 12:02:40 +0100 |
commit | d20714c0da5c07268687817f964c88b77308c22e (patch) | |
tree | decd90b3b8105cd042a29796be5ef56e1d737c74 /source/fitz/load-jpx.c | |
parent | c87adf950ad83fc9737cf22d91943e0fc21352fd (diff) | |
download | mupdf-d20714c0da5c07268687817f964c88b77308c22e.tar.xz |
MSVC: Avoid signed/unsigned warning.
Diffstat (limited to 'source/fitz/load-jpx.c')
-rw-r--r-- | source/fitz/load-jpx.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/fitz/load-jpx.c b/source/fitz/load-jpx.c index eafdd33a..b2cf46e7 100644 --- a/source/fitz/load-jpx.c +++ b/source/fitz/load-jpx.c @@ -665,13 +665,14 @@ jpx_read_image(fz_context *ctx, fz_jpxd *state, unsigned char *data, size_t size opj_stream_t *stream; unsigned char *p; OPJ_CODEC_FORMAT format; - int i, a, n, w, h, depth, sgnd; + int a, n, w, h, depth, sgnd; int x, y, k, v, stride; stream_block sb; unsigned int max_w, max_h; int sub_w[FZ_MAX_COLORS]; int sub_h[FZ_MAX_COLORS]; int upsample_required = 0; + OPJ_UINT32 i; fz_var(img); |