summaryrefslogtreecommitdiff
path: root/src/gib_list.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gib_list.c')
-rw-r--r--src/gib_list.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gib_list.c b/src/gib_list.c
index 5384d98..a8ba1dd 100644
--- a/src/gib_list.c
+++ b/src/gib_list.c
@@ -362,7 +362,7 @@ gib_list_randomize(gib_list * list)
}
for (i = 0; i < len - 1; i++)
{
- r = i + rand() / (RAND_MAX / (len - i) + 1 );
+ r = i + random() / (RAND_MAX / (len - i) + 1 );
t = farray[r];
farray[r] = farray[i];
farray[i] = t;