diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-08-25 01:42:36 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-08-25 01:42:36 +0000 |
commit | 8c6040edcabafbebc2afd54b9da6a4e98bff863f (patch) | |
tree | 0cd2b81632aed8d195de4e172ba8c1f86653fabb /transcode.c | |
parent | 12e61c83cb5527fdf47d1cfd69919f003e8cf8c7 (diff) | |
download | ruby-8c6040edcabafbebc2afd54b9da6a4e98bff863f.tar.gz |
* transcode.c (rb_econv_open_exc): constified.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18828 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'transcode.c')
-rw-r--r-- | transcode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/transcode.c b/transcode.c index 7fb5cb9244..519c2f8c61 100644 --- a/transcode.c +++ b/transcode.c @@ -1433,7 +1433,7 @@ rb_econv_open_exc(const char *senc, const char *denc, rb_econv_option_t *opts) if (flags & (ECONV_UNIVERSAL_NEWLINE_DECODER| ECONV_CRLF_NEWLINE_ENCODER| ECONV_CR_NEWLINE_ENCODER)) { - char *pre = ""; + const char *pre = ""; if (!noenc) rb_str_cat2(mesg, " with "); if (flags & ECONV_UNIVERSAL_NEWLINE_DECODER) { |