summaryrefslogtreecommitdiff
path: root/libguile/weak-vector.c
diff options
context:
space:
mode:
Diffstat (limited to 'libguile/weak-vector.c')
-rw-r--r--libguile/weak-vector.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libguile/weak-vector.c b/libguile/weak-vector.c
index 3e90b3d57..30e2ed63f 100644
--- a/libguile/weak-vector.c
+++ b/libguile/weak-vector.c
@@ -1,4 +1,5 @@
-/* Copyright (C) 1995,1996,1998,2000,2001, 2003, 2006, 2008, 2009, 2010, 2011, 2012 Free Software Foundation, Inc.
+/* Copyright (C) 1995, 1996, 1998, 2000, 2001, 2003, 2006, 2008, 2009,
+ * 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
@@ -129,7 +130,7 @@ weak_vector_ref (void *data)
{
struct weak_vector_ref_data *d = data;
- return SCM_SIMPLE_VECTOR_REF (d->wv, d->k);
+ return (void *) SCM_UNPACK (SCM_SIMPLE_VECTOR_REF (d->wv, d->k));
}
SCM