summaryrefslogtreecommitdiff
path: root/orc-test
diff options
context:
space:
mode:
authorDavid Schleef <ds@schleef.org>2009-06-29 14:00:21 -0700
committerDavid Schleef <ds@schleef.org>2009-06-29 14:00:21 -0700
commit3197f554c1f052cd006eb9943b6093c31ab6bfec (patch)
tree7792901ecb5533e1a34eec5ff2f3875fb423a8fd /orc-test
parent3047bd5462b6f388e84863fb4d0ee4957a828bdf (diff)
test: use rand() instead of random()
Diffstat (limited to 'orc-test')
-rw-r--r--orc-test/orctest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/orc-test/orctest.c b/orc-test/orctest.c
index 6789a68..932284d 100644
--- a/orc-test/orctest.c
+++ b/orc-test/orctest.c
@@ -335,7 +335,7 @@ OrcTestResult
orc_test_compare_output (OrcProgram *program)
{
OrcExecutor *ex;
- int n = 64 + (random()&0xf);
+ int n = 64 + (rand()&0xf);
void *dest_exec[4] = { NULL, NULL, NULL, NULL };
void *dest_emul[4] = { NULL, NULL, NULL, NULL };
void *ptr_exec[4];