From d6e2d0450574c5b305a8faeb808e825ec7fd0fff Mon Sep 17 00:00:00 2001 From: Johns Date: Sat, 7 Jan 2012 03:13:33 +0100 Subject: [PATCH] Fix compiler error with -DDEBUG. --- video.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/video.c b/video.c index 4391031..5d0e1e2 100644 --- a/video.c +++ b/video.c @@ -769,7 +769,7 @@ static int AutoCropIsBlackLineY(const uint8_t * data, int length, int stride) const uint64_t *p; #ifdef DEBUG - if (data & 0x7 || length & 0x7 || stride & 0x7) { + if ((size_t) data & 0x7 || length & 0x7 || stride & 0x7) { abort(); } #endif