From 0167fc15fbceaa62ae24a3548d930c9b0285e5ed Mon Sep 17 00:00:00 2001 From: nobu Date: Wed, 2 Dec 2015 00:45:32 +0000 Subject: [PATCH] string.c: adjust argument qualifier * string.c (str_make_independent_expand): adjust argument qualifier to get rid of a VC bug. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52844 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- string.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/string.c b/string.c index e7040de95f..d1a051b6dd 100644 --- a/string.c +++ b/string.c @@ -161,7 +161,7 @@ static VALUE str_replace_shared_without_enc(VALUE str2, VALUE str); static VALUE str_new_shared(VALUE klass, VALUE str); static VALUE str_new_frozen(VALUE klass, VALUE orig); static VALUE str_new_static(VALUE klass, const char *ptr, long len, int encindex); -static void str_make_independent_expand(VALUE str, long len, long expand, int termlen); +static void str_make_independent_expand(VALUE str, long len, long expand, const int termlen); static inline void str_make_independent(VALUE str)