From 0c8592b9af304dfcac0d08ba96d5f22ad8312e1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8D=9C=E9=83=A8=E6=98=8C=E5=B9=B3?= Date: Tue, 27 Aug 2019 14:11:02 +0900 Subject: [PATCH] fix function prototype mismatch of rb_block_call Nobu missed it in f0e73fc9862c8d2c57a89349fb79012b826b8245. --- vm_eval.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vm_eval.c b/vm_eval.c index a0f8e55f5d..b449cd4996 100644 --- a/vm_eval.c +++ b/vm_eval.c @@ -1218,7 +1218,7 @@ iterate_method(VALUE obj) VALUE rb_block_call(VALUE obj, ID mid, int argc, const VALUE * argv, - VALUE (*bl_proc) (ANYARGS), VALUE data2) + rb_block_call_func_t bl_proc, VALUE data2) { struct iter_method_arg arg; @@ -1257,7 +1257,7 @@ iterate_check_method(VALUE obj) VALUE rb_check_block_call(VALUE obj, ID mid, int argc, const VALUE *argv, - VALUE (*bl_proc) (ANYARGS), VALUE data2) + rb_block_call_func_t bl_proc, VALUE data2) { struct iter_method_arg arg;