From e53e9860827309c010047cde6c83698c25f8af53 Mon Sep 17 00:00:00 2001 From: nobu Date: Sat, 24 Dec 2016 13:19:50 +0000 Subject: [PATCH] compile.c: constify * compile.c (method_for_self): constify an argument of build function for VC6. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57173 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- compile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compile.c b/compile.c index c8e8add49a..23a85f8785 100644 --- a/compile.c +++ b/compile.c @@ -7058,7 +7058,7 @@ typedef struct { static const rb_iseq_t * method_for_self(VALUE name, VALUE arg, rb_insn_func_t func, - VALUE (*build)(rb_iseq_t *, LINK_ANCHOR *, VALUE)) + VALUE (*build)(rb_iseq_t *, LINK_ANCHOR *const, VALUE)) { VALUE path, absolute_path; accessor_args acc;