(SCM_VARIABLE_LOC): Use SCM_CELL_OBJECT_LOC instead of casting
authorMarius Vollmer <mvo@zagadka.de>
Thu, 6 May 2004 16:41:47 +0000 (16:41 +0000)
committerMarius Vollmer <mvo@zagadka.de>
Thu, 6 May 2004 16:41:47 +0000 (16:41 +0000)
SCM_CELL_WORD_LOC.

libguile/variable.h

index ffeafa3..2a20423 100644 (file)
@@ -32,7 +32,7 @@
 #define SCM_VARIABLEP(X)      (!SCM_IMP (X) && SCM_TYP7(X) == scm_tc7_variable)
 #define SCM_VARIABLE_REF(V)   SCM_CELL_OBJECT_1 (V)
 #define SCM_VARIABLE_SET(V, X) SCM_SET_CELL_OBJECT_1 (V, X)
-#define SCM_VARIABLE_LOC(V)   ((SCM *) SCM_CELL_WORD_LOC ((V), 1))
+#define SCM_VARIABLE_LOC(V)   (SCM_CELL_OBJECT_LOC ((V), 1))
 
 \f