aboutsummaryrefslogtreecommitdiffstats
path: root/string.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-12-02 00:45:32 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-12-02 00:45:32 +0000
commit0167fc15fbceaa62ae24a3548d930c9b0285e5ed (patch)
treeb1776a8a072211bad20eb8763404a367b5a6153d /string.c
parentbb5bd52a598b2a8c4e73ec476fbc5b55ae02ea0b (diff)
downloadruby-0167fc15fbceaa62ae24a3548d930c9b0285e5ed.tar.gz
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
Diffstat (limited to 'string.c')
-rw-r--r--string.c2
1 files changed, 1 insertions, 1 deletions
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)