From 319b8935826c8726b8c23f1c746a82b261b8cde1 Mon Sep 17 00:00:00 2001 From: "Bryce W. Harrington" Date: Wed, 3 Jul 2013 22:36:28 +0000 Subject: 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 --- test/pdiff/perceptualdiff.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test') 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; -- cgit v1.2.1