fix SCM_CELL macro usage.
authorAndy Wingo <wingo@pobox.com>
Tue, 8 Dec 2009 20:59:42 +0000 (21:59 +0100)
committerAndy Wingo <wingo@pobox.com>
Tue, 8 Dec 2009 22:13:21 +0000 (23:13 +0100)
* libguile/vm.h (SCM_VM_CONT_DATA): Fix SCM_CELL macro usage.

libguile/vm.h

index 8ec2682..9479ba7 100644 (file)
@@ -99,7 +99,7 @@ struct scm_vm_cont {
 
 SCM_API scm_t_bits scm_tc16_vm_cont;
 #define SCM_VM_CONT_P(OBJ)     SCM_SMOB_PREDICATE (scm_tc16_vm_cont, OBJ)
-#define SCM_VM_CONT_DATA(CONT) ((struct scm_vm_cont *) SCM_CELL_WORD_1 (CONT))
+#define SCM_VM_CONT_DATA(CONT) ((struct scm_vm_cont *) SCM_SMOB_DATA_1 (CONT))
 
 SCM_API SCM scm_vm_capture_continuations (void);
 SCM_API void scm_vm_reinstate_continuations (SCM conts);