diff options
author | Marius Vollmer <mvo@zagadka.de> | 2004-05-06 16:41:47 +0000 |
---|---|---|
committer | Marius Vollmer <mvo@zagadka.de> | 2004-05-06 16:41:47 +0000 |
commit | f7e69e2094d14125134e5cb6368d097416dc9a37 (patch) | |
tree | 596e640ab24dad5ad21a239019f9ae2f77e30a12 /libguile | |
parent | 37fc18ae734bcf7a0346e4231dfd1a41f0aec2f9 (diff) | |
download | guile-f7e69e2094d14125134e5cb6368d097416dc9a37.tar.gz |
(SCM_VARIABLE_LOC): Use SCM_CELL_OBJECT_LOC instead of casting
SCM_CELL_WORD_LOC.
Diffstat (limited to 'libguile')
-rw-r--r-- | libguile/variable.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libguile/variable.h b/libguile/variable.h index ffeafa366..2a2042355 100644 --- a/libguile/variable.h +++ b/libguile/variable.h @@ -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)) |