aboutsummaryrefslogtreecommitdiffstats
path: root/gc.c
diff options
context:
space:
mode:
author卜部昌平 <shyouhei@ruby-lang.org>2019-12-12 12:37:58 +0900
committer卜部昌平 <shyouhei@ruby-lang.org>2019-12-12 14:19:36 +0900
commitf40143fe7c55e3b2209f57e7ec4b3ad1d9468a1e (patch)
tree3783baa156ad1f3bdff9e1a75524328511d87b38 /gc.c
parent12de92a3682f7a54941c511e6394068df2adefb3 (diff)
downloadruby-f40143fe7c55e3b2209f57e7ec4b3ad1d9468a1e.tar.gz
fix arity mismatch
I missed this in bc3e7924bc66d3ef77b219c72f3e59cc154550a3 because the function is inside of a #ifdef.
Diffstat (limited to 'gc.c')
-rw-r--r--gc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gc.c b/gc.c
index 493a156a37..cbfd3d99b1 100644
--- a/gc.c
+++ b/gc.c
@@ -11681,7 +11681,7 @@ rb_gcdebug_print_obj_condition(VALUE obj)
}
static VALUE
-gcdebug_sentinel(VALUE obj, VALUE name)
+gcdebug_sentinel(RB_BLOCK_CALL_FUNC_ARGLIST(obj, name))
{
fprintf(stderr, "WARNING: object %s(%p) is inadvertently collected\n", (char *)name, (void *)obj);
return Qnil;