From f5d7816f3c881070b63fb9f228df73319dd5abb8 Mon Sep 17 00:00:00 2001 From: nobu Date: Mon, 25 Aug 2008 01:42:36 +0000 Subject: * transcode.c (rb_econv_open_exc): constified. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18828 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- transcode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'transcode.c') diff --git a/transcode.c b/transcode.c index 7fb5cb924..519c2f8c6 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) { -- cgit