From a8e5f06fe01732fbd643bc435dd3b8eaa602defe Mon Sep 17 00:00:00 2001 From: marha Date: Wed, 9 Nov 2011 16:58:33 +0100 Subject: libX11 mesa pixman git update 9 nov 2011 --- pixman/test/blitters-test.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'pixman/test/blitters-test.c') diff --git a/pixman/test/blitters-test.c b/pixman/test/blitters-test.c index 4f931c440..55b6c735c 100644 --- a/pixman/test/blitters-test.c +++ b/pixman/test/blitters-test.c @@ -5,7 +5,6 @@ * Script 'fuzzer-find-diff.pl' can be used to narrow down the problem in * the case of test failure. */ -#include #include #include #include "utils.h" @@ -281,7 +280,7 @@ test_composite (int testnum, int verbose) lcg_srand (testnum); - op = op_list[lcg_rand_n (sizeof (op_list) / sizeof (op_list[0]))]; + op = op_list[lcg_rand_n (ARRAY_LENGTH (op_list))]; if (lcg_rand_n (8)) { -- cgit v1.2.3