From bb764c0e3c6969bc34154b9212eb0cd04b5f8f87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Tue, 19 Aug 2008 19:08:29 +0200 Subject: [PATCH] Complete fix of `hell' allocation in GOOPS. --- libguile/goops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libguile/goops.c b/libguile/goops.c index 8f298c539..c09932c08 100644 --- a/libguile/goops.c +++ b/libguile/goops.c @@ -2995,7 +2995,7 @@ scm_init_goops_builtins (void) list_of_no_method = scm_permanent_object (scm_list_1 (sym_no_method)); - hell = scm_calloc (hell_size * sizeof(scm_t_bits)); + hell = scm_calloc (hell_size * sizeof (*hell)); hell_mutex = scm_permanent_object (scm_make_mutex ()); create_basic_classes ();