~ chicken-core (chicken-5) 1bf9681e02268670636aabb0cbdf0073fdf9be96


commit 1bf9681e02268670636aabb0cbdf0073fdf9be96
Author:     felix <felix@call-with-current-continuation.org>
AuthorDate: Thu Apr 7 09:18:08 2011 -0400
Commit:     felix <felix@call-with-current-continuation.org>
CommitDate: Thu Apr 7 09:18:08 2011 -0400

    fixed stupid syntax error in runtime.c - thanks to Sven Hartrumpf

diff --git a/runtime.c b/runtime.c
index 8cd68600..d439aa59 100644
--- a/runtime.c
+++ b/runtime.c
@@ -4552,7 +4552,7 @@ C_word C_fcall C_a_i_smart_mpointer(C_word **ptr, int c, C_word x)
   void *mp;
 
   if(C_immediatep(x)) mp = NULL;
-  else if((C_header_bits(x) && C_SPECIALBLOCK_BIT) != 0) mp = C_pointer_address(x);
+  else if((C_header_bits(x) & C_SPECIALBLOCK_BIT) != 0) mp = C_pointer_address(x);
   else mp = C_data_pointer(x);
 
   *(p++) = C_POINTER_TYPE | 1;
Trap