summaryrefslogtreecommitdiff
path: root/orc-test/orctest.c
diff options
context:
space:
mode:
authorDavid Schleef <ds@schleef.org>2009-07-07 14:09:26 -0700
committerDavid Schleef <ds@schleef.org>2009-07-07 14:09:26 -0700
commitdb22cafb1ea0ee03a1f4fecdc0cec277622c5d09 (patch)
tree545f37c508a4a027acd916885505f5e74450366d /orc-test/orctest.c
parentdfd6ad9e074b5e6917e9d1624ee6888063ef288b (diff)
parent0e99006857acc5f8be59c99b32816118212761b5 (diff)
Merge branch 'master' into neon
Diffstat (limited to 'orc-test/orctest.c')
-rw-r--r--orc-test/orctest.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/orc-test/orctest.c b/orc-test/orctest.c
index ded5674..53cfd9b 100644
--- a/orc-test/orctest.c
+++ b/orc-test/orctest.c
@@ -68,7 +68,7 @@ orc_test_gcc_compile (OrcProgram *p)
fclose (file);
#if defined(HAVE_POWERPC)
- sprintf (cmd, "gcc -Wa,-mregnames -Wall -c %s -o %d", source_filename,
+ sprintf (cmd, "gcc -Wa,-mregnames -Wall -c %s -o %s", source_filename,
obj_filename);
#else
sprintf (cmd, "gcc -Wall -c %s -o %s", source_filename,
@@ -529,7 +529,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];