diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-12-02 00:45:32 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-12-02 00:45:32 +0000 |
commit | 9d224030eb22c14e00f86889d0c3f8fe143067ec (patch) | |
tree | b1776a8a072211bad20eb8763404a367b5a6153d /string.c | |
parent | 438b2413dd70f162812f1010441f33c29ef56707 (diff) | |
download | ruby-9d224030eb22c14e00f86889d0c3f8fe143067ec.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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |