aboutsummaryrefslogtreecommitdiffstats
path: root/transcode.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-08-25 01:42:36 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-08-25 01:42:36 +0000
commit8c6040edcabafbebc2afd54b9da6a4e98bff863f (patch)
tree0cd2b81632aed8d195de4e172ba8c1f86653fabb /transcode.c
parent12e61c83cb5527fdf47d1cfd69919f003e8cf8c7 (diff)
downloadruby-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.c2
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) {