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 35e22de2..f37d5825 100644
--- a/hash.c
+++ b/hash.c
@@ -919,7 +919,7 @@ val set_hash_userdata(val hash, val data)
val hashp(val obj)
{
- return typeof(obj) == hash_s ? t : nil;
+ return cobjclassp(obj, hash_s);
}
static void hash_iter_mark(val hash_iter)