~ chicken-core (master) dc655803616ed57a1e8478509369bf9adf3118d0


commit dc655803616ed57a1e8478509369bf9adf3118d0
Author:     Felix Winkelmann <felix.winkelmann@bevuta.com>
AuthorDate: Mon Sep 14 00:38:51 2026 +0200
Commit:     Felix Winkelmann <felix.winkelmann@bevuta.com>
CommitDate: Mon Sep 14 00:38:51 2026 +0200

    same old bool vs non-bool mistake...

diff --git a/chicken.h b/chicken.h
index 4257d3ec..97f53d22 100644
--- a/chicken.h
+++ b/chicken.h
@@ -2840,7 +2840,7 @@ inline static C_word C_i_pairp(C_word x)
 
 inline static C_word C_i_bytevectorp(C_word x)
 {
-  return C_mk_bool(!C_immediatep(x) && C_bytevectorp(x));
+  return C_mk_bool(!C_immediatep(x) && C_header_bits(x) == C_BYTEVECTOR_TYPE);
 }
 
 inline static C_word C_i_weak_pairp(C_word x)
Trap