diff options
author | Thomas White <taw@physics.org> | 2013-11-29 15:57:22 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2013-11-29 15:57:22 +0100 |
commit | 15a538e5a0b66b590a8857b27e8e79d11d6174d9 (patch) | |
tree | a1887d4f4954f21d17194d3e5232bedfcac78fd3 /tests/list_check.c | |
parent | 72d7a79147603b798e92425ec6b83a469bd35843 (diff) |
RefList: Increase maximum index to 511
Diffstat (limited to 'tests/list_check.c')
-rw-r--r-- | tests/list_check.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/list_check.c b/tests/list_check.c index 9656dd1a..a83de455 100644 --- a/tests/list_check.c +++ b/tests/list_check.c @@ -45,7 +45,7 @@ struct refltemp { int found; }; -#define RANDOM_INDEX (128*random()/RAND_MAX - 256*random()/RAND_MAX) +#define RANDOM_INDEX (1022*random()/RAND_MAX - 511) static int test_lists(int num_items) |