From 1deeb07d506b2522c788246a14b92ef2c093894a Mon Sep 17 00:00:00 2001 From: nobu Date: Wed, 25 Feb 2009 03:29:25 +0000 Subject: * string.c (rb_str_each_line): constified. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22612 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- string.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'string.c') diff --git a/string.c b/string.c index f9730012c..3166f595e 100644 --- a/string.c +++ b/string.c @@ -5658,7 +5658,7 @@ rb_str_each_line(int argc, VALUE *argv, VALUE str) rb_encoding *enc; VALUE rs; unsigned int newline; - char *p, *pend, *s, *ptr; + const char *p, *pend, *s, *ptr; long len, rslen; VALUE line; int n; -- cgit