diff options
author | Robin Watts <Robin.Watts@artifex.com> | 2017-03-21 17:58:22 -0400 |
---|---|---|
committer | Robin Watts <Robin.Watts@artifex.com> | 2017-03-22 18:29:40 -0400 |
commit | ad65190db33e7024b71cd21a6ea1483940f0bf92 (patch) | |
tree | 1c8abccc561ec5ff2c063499711a0706351d2da2 | |
parent | c1b2500028a9461f1835f8879b2ad34260e2726c (diff) | |
download | mupdf-ad65190db33e7024b71cd21a6ea1483940f0bf92.tar.xz |
Fix threaded muraster build.
-rw-r--r-- | source/tools/muraster.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/tools/muraster.c b/source/tools/muraster.c index 78fd18fa..c8b97a54 100644 --- a/source/tools/muraster.c +++ b/source/tools/muraster.c @@ -1516,6 +1516,7 @@ int main(int argc, char **argv) if (num_workers > 0) { + int i; int fail = 0; workers = fz_calloc(ctx, num_workers, sizeof(*workers)); for (i = 0; i < num_workers; i++) @@ -1672,6 +1673,7 @@ int main(int argc, char **argv) #ifndef DISABLE_MUTHREADS if (num_workers > 0) { + int i; for (i = 0; i < num_workers; i++) { workers[i].band_start = -1; |