summaryrefslogtreecommitdiffstats
path: root/rand.c
diff options
context:
space:
mode:
Diffstat (limited to 'rand.c')
-rw-r--r--rand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rand.c b/rand.c
index 7951115a..6e4988a9 100644
--- a/rand.c
+++ b/rand.c
@@ -136,7 +136,7 @@ val make_random_state(val seed)
r->state[2] = (s >> 64) & 0xFFFFFFFFul;
r->state[3] = (s >> 96) & 0xFFFFFFFFul;
#endif
- } else if (nullp(seed)) {
+ } else if (nilp(seed)) {
val time = time_sec_usec();
r->state[0] = (rand32_t) c_num(car(time));
r->state[1] = (rand32_t) c_num(cdr(time));