summaryrefslogtreecommitdiff
path: root/libguile/hashtab.c
diff options
context:
space:
mode:
Diffstat (limited to 'libguile/hashtab.c')
-rw-r--r--libguile/hashtab.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libguile/hashtab.c b/libguile/hashtab.c
index 488054969..8e1cb63df 100644
--- a/libguile/hashtab.c
+++ b/libguile/hashtab.c
@@ -933,7 +933,8 @@ SCM_DEFINE (scm_hashx_remove_x, "hashx-remove!", 4, 0, 0,
scm_t_ihashx_closure closure;
closure.hash = hash;
closure.assoc = assoc;
- return scm_hash_fn_remove_x (table, obj, scm_ihashx, scm_sloppy_assx, 0);
+ return scm_hash_fn_remove_x (table, obj, scm_ihashx, scm_sloppy_assx,
+ (void *) &closure);
}
#undef FUNC_NAME