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 d538517b..59665784 100644
--- a/hash.c
+++ b/hash.c
@@ -455,7 +455,7 @@ val gethash_n(val hash, val key, val notfound_val)
struct hash *h = (struct hash *) cobj_handle(hash, hash_s);
val chain = vecref(h->table, num_fast(h->hash_fun(key) % h->modulus));
val existing = h->assoc_fun(key, chain);
- return if3(existing, cdr(existing), notfound_val);
+ return if3(existing, cdr(existing), default_bool_arg(notfound_val));
}
val sethash(val hash, val key, val value)