From c8932036d2d3e32d7e75fcffa4ee4139a5a4b55f Mon Sep 17 00:00:00 2001 From: nobu Date: Wed, 4 May 2016 10:10:05 +0000 Subject: [PATCH] proc.c: constify * proc.c (method_callable_method_entry): constify data. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54908 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- proc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proc.c b/proc.c index 8b1141a5d3..6be11362bb 100644 --- a/proc.c +++ b/proc.c @@ -1949,7 +1949,7 @@ rb_method_call(int argc, const VALUE *argv, VALUE method) } static const rb_callable_method_entry_t * -method_callable_method_entry(struct METHOD *data) +method_callable_method_entry(const struct METHOD *data) { if (data->me->defined_class == 0) rb_bug("method_callable_method_entry: not callable."); return (const rb_callable_method_entry_t *)data->me;