From 15023618ec2b3a04f9cd1022187b11672ea6b71d Mon Sep 17 00:00:00 2001 From: yugui Date: Thu, 25 Dec 2008 16:32:53 +0000 Subject: merges r20590 from trunk into ruby_1_9_1. * vm_insnhelper.c (check_cfunc): use function pointer. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@21055 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- vm_insnhelper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vm_insnhelper.c') diff --git a/vm_insnhelper.c b/vm_insnhelper.c index 71a673e37e..28eaeb7951 100644 --- a/vm_insnhelper.c +++ b/vm_insnhelper.c @@ -1447,7 +1447,7 @@ vm_expandarray(rb_control_frame_t *cfp, VALUE ary, int num, int flag) } static inline int -check_cfunc(const NODE *mn, const void *func) +check_cfunc(const NODE *mn, VALUE (*func)()) { if (mn && nd_type(mn->nd_body) == NODE_CFUNC && mn->nd_body->nd_cfnc == func) { -- cgit v1.2.3