summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcos H. Woehrmann <marcos.woehrmann@artifex.com>2015-02-25 07:44:51 -0800
committerMarcos H. Woehrmann <marcos.woehrmann@artifex.com>2015-02-25 07:44:51 -0800
commit70bd09212747f8b13e94948c04cadf5b0df65899 (patch)
treeabd61945de1f3d8a4bd88b701e94118c46b3c88e
parenta2d08f1eb88355c81672668595f0b80f32386e48 (diff)
Silence a compiler warning in fuzzy.c
-rw-r--r--gs/toolbin/tests/fuzzy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gs/toolbin/tests/fuzzy.c b/gs/toolbin/tests/fuzzy.c
index a605fafb8..8e21457d6 100644
--- a/gs/toolbin/tests/fuzzy.c
+++ b/gs/toolbin/tests/fuzzy.c
@@ -766,7 +766,7 @@ fuzzy_diff_images (Image *image1, Image *image2, const FuzzyParams *fparams,
out_buf[x * 3 + 2] = abs(rowmid1[x * 3 + 2]- rowmid2[x * 3 + 2]);
}
if (fparams->report_coordinates &&
- (abs(x - x0) > 1 && y == y0 || y - y0 > 1))
+ ((abs(x - x0) > 1 && y == y0) || y - y0 > 1))
{
/* fixme : a contiguity test wanted. */
x0 = x; y0 = y;