summaryrefslogtreecommitdiff
path: root/source/fitz/load-jpx.c
diff options
context:
space:
mode:
authorRobin Watts <Robin.Watts@artifex.com>2017-06-13 13:27:20 +0100
committerRobin Watts <robin.watts@artifex.com>2017-06-16 12:02:40 +0100
commitd20714c0da5c07268687817f964c88b77308c22e (patch)
treedecd90b3b8105cd042a29796be5ef56e1d737c74 /source/fitz/load-jpx.c
parentc87adf950ad83fc9737cf22d91943e0fc21352fd (diff)
downloadmupdf-d20714c0da5c07268687817f964c88b77308c22e.tar.xz
MSVC: Avoid signed/unsigned warning.
Diffstat (limited to 'source/fitz/load-jpx.c')
-rw-r--r--source/fitz/load-jpx.c3
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);