summaryrefslogtreecommitdiff
path: root/libguile/symbols.c
diff options
context:
space:
mode:
authorLudovic Courtes <ludovic.courtes@laas.fr>2006-05-30 21:23:18 +0000
committerLudovic Courtès <ludo@gnu.org>2008-09-05 09:35:03 +0200
commitbebc45ae90481ca461c6fa0d81c14e4d291f912e (patch)
tree223430bb7ff13e8489fdd5ee1889ea8c76b85f4d /libguile/symbols.c
parent194c0a3e402f20c51f5bf7041d8b9edce913b071 (diff)
downloadguile-bebc45ae90481ca461c6fa0d81c14e4d291f912e.tar.gz
Fixed a warning in `symbols.c'.
* libguile/symbols.c (lookup_interned_symbol): When checking for `NULL', use `SCM2PTR' rather than `SCM_UNPACK' (this fixes a warning). git-archimport-id: lcourtes@laas.fr--2005-libre/guile-core--boehm-gc--1.9--patch-31
Diffstat (limited to 'libguile/symbols.c')
-rw-r--r--libguile/symbols.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libguile/symbols.c b/libguile/symbols.c
index 1f07f1aad..26abdc4c8 100644
--- a/libguile/symbols.c
+++ b/libguile/symbols.c
@@ -101,7 +101,7 @@ lookup_interned_symbol (const char *name, size_t len,
pair = SCM_CAR (l);
if (!scm_is_pair (pair))
abort ();
- if (SCM_UNPACK (SCM_CAR (pair)) == NULL)
+ if (SCM2PTR (SCM_CAR (pair)) == NULL)
/* Weak pointer. Ignore it. */
/* FIXME: Should we as well remove it, as in `scm_fixup_weak_alist'? */
continue;