diff options
author | marha <marha@users.sourceforge.net> | 2011-11-09 16:58:33 +0100 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2011-11-09 16:58:33 +0100 |
commit | a8e5f06fe01732fbd643bc435dd3b8eaa602defe (patch) | |
tree | b18cd9881bc5a6d317edca6c38fa912bade00802 /pixman/test/blitters-test.c | |
parent | 1ed503a856d9753a813951796bc6ba56c42ecd28 (diff) | |
download | vcxsrv-a8e5f06fe01732fbd643bc435dd3b8eaa602defe.tar.gz vcxsrv-a8e5f06fe01732fbd643bc435dd3b8eaa602defe.tar.bz2 vcxsrv-a8e5f06fe01732fbd643bc435dd3b8eaa602defe.zip |
libX11 mesa pixman git update 9 nov 2011
Diffstat (limited to 'pixman/test/blitters-test.c')
-rw-r--r-- | pixman/test/blitters-test.c | 3 |
1 files changed, 1 insertions, 2 deletions
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 <assert.h> #include <stdlib.h> #include <stdio.h> #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)) { |