summaryrefslogtreecommitdiff
path: root/vm_method.c
diff options
context:
space:
mode:
Diffstat (limited to 'vm_method.c')
-rw-r--r--vm_method.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm_method.c b/vm_method.c
index 6cec0ab1f8..8994fa2c2e 100644
--- a/vm_method.c
+++ b/vm_method.c
@@ -304,7 +304,7 @@ method_added(VALUE klass, ID mid)
}
static VALUE
-(*call_cfunc_invoker_func(int argc))(const rb_call_info_t *, const VALUE *)
+(*call_cfunc_invoker_func(int argc))(VALUE (*func)(ANYARGS), const rb_call_info_t *, const VALUE *)
{
switch (argc) {
case -2: return call_cfunc_m2;