test: use rand() instead of random()
authorDavid Schleef <ds@schleef.org>
Mon, 29 Jun 2009 21:00:21 +0000 (14:00 -0700)
committerDavid Schleef <ds@schleef.org>
Mon, 29 Jun 2009 21:00:21 +0000 (14:00 -0700)
orc-test/orctest.c

index 6789a68..932284d 100644 (file)
@@ -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];