summaryrefslogtreecommitdiffstats
path: root/lib.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib.c')
-rw-r--r--lib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib.c b/lib.c
index 592e95e3..e5857e9c 100644
--- a/lib.c
+++ b/lib.c
@@ -302,7 +302,7 @@ seq_info_t seq_info(val obj)
ret.kind = SEQ_HASHLIKE;
} else if (cls == carray_s) {
ret.kind = SEQ_VECLIKE;
- } else if (obj_struct_p(cls)) {
+ } else if (obj_struct_p(obj)) {
if (maybe_slot(obj, length_s))
ret.kind = SEQ_VECLIKE;
if (maybe_slot(obj, car_s))