summaryrefslogtreecommitdiffstats
path: root/hash.c
diff options
context:
space:
mode:
Diffstat (limited to 'hash.c')
-rw-r--r--hash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hash.c b/hash.c
index 55906c2e..48aa3cea 100644
--- a/hash.c
+++ b/hash.c
@@ -666,7 +666,7 @@ val hash_next(val iter)
struct hash *h = (struct hash *) hash->co.handle;
if (hi->cons)
hi->cons = cdr(hi->cons);
- while (nullp(hi->cons)) {
+ while (nilp(hi->cons)) {
if (++hi->chain >= h->modulus)
return nil;
set(hi->cons, vecref(h->table, num_fast(hi->chain)));