summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Watts <Robin.Watts@artifex.com>2017-03-21 17:58:22 -0400
committerRobin Watts <Robin.Watts@artifex.com>2017-03-22 18:29:40 -0400
commitad65190db33e7024b71cd21a6ea1483940f0bf92 (patch)
tree1c8abccc561ec5ff2c063499711a0706351d2da2
parentc1b2500028a9461f1835f8879b2ad34260e2726c (diff)
downloadmupdf-ad65190db33e7024b71cd21a6ea1483940f0bf92.tar.xz
Fix threaded muraster build.
-rw-r--r--source/tools/muraster.c2
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;