Skip to content

Commit

Permalink
[sgen] Fix build on Linux.
Browse files Browse the repository at this point in the history
  • Loading branch information
schani committed Dec 3, 2013
1 parent b9bcafb commit cd0631b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mono/metadata/test-sgen-qsort.c
Expand Up @@ -23,6 +23,7 @@

#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <assert.h>

static int
Expand Down Expand Up @@ -86,7 +87,7 @@ main (void)
compare_sorts (a, i, sizeof (int), compare_ints);
}

srandomdev ();
srandom (time (NULL));
for (i = 0; i < 2000; ++i) {
teststruct_t a [200];
int j;
Expand Down

0 comments on commit cd0631b

Please sign in to comment.