summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryce W. Harrington <b.harrington@samsung.com>2013-07-03 22:36:28 (GMT)
committerChris Wilson <chris@chris-wilson.co.uk>2013-07-04 08:27:55 (GMT)
commit319b8935826c8726b8c23f1c746a82b261b8cde1 (patch)
treea9552a4c5b21ea1a26c8e5f71f3e4c1fd55a59dd
parent9e4cac50c25cec0476413a991d98c897fce0aceb (diff)
downloadcairo-319b8935826c8726b8c23f1c746a82b261b8cde1.tar.gz
cairo-319b8935826c8726b8c23f1c746a82b261b8cde1.tar.xz
pdiff: Quell warning about signed/unsigned comparisons
perceptualdiff.c:55:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] perceptualdiff.c:60:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] Signed-off-by: Bryce Harrington <b.harrington@samsung.com>
-rw-r--r--test/pdiff/perceptualdiff.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/pdiff/perceptualdiff.c b/test/pdiff/perceptualdiff.c
index a3a6e80..de98534 100644
--- a/test/pdiff/perceptualdiff.c
+++ b/test/pdiff/perceptualdiff.c
@@ -26,10 +26,10 @@
static bool Yee_Compare(args_t *args)
{
- int width_a, height_a, stride_a;
+ unsigned int width_a, height_a, stride_a;
unsigned char *data_a, *row_a;
uint32_t *pixel_a;
- int width_b, height_b, stride_b;
+ unsigned int width_b, height_b, stride_b;
unsigned char *data_b, *row_b;
uint32_t *pixel_b;
unsigned int x, y, dim, pixels_failed;