diff options
author | Bryce W. Harrington <b.harrington@samsung.com> | 2013-07-03 22:36:28 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2013-07-04 09:27:55 +0100 |
commit | 319b8935826c8726b8c23f1c746a82b261b8cde1 (patch) | |
tree | a9552a4c5b21ea1a26c8e5f71f3e4c1fd55a59dd /test | |
parent | 9e4cac50c25cec0476413a991d98c897fce0aceb (diff) | |
download | cairo-319b8935826c8726b8c23f1c746a82b261b8cde1.tar.gz |
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>
Diffstat (limited to 'test')
-rw-r--r-- | test/pdiff/perceptualdiff.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/pdiff/perceptualdiff.c b/test/pdiff/perceptualdiff.c index a3a6e8066..de98534b5 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; |