From f2980e3e2050f21273bfc8412e83adef5f75b1f0 Mon Sep 17 00:00:00 2001 From: nobu Date: Mon, 2 Jun 2014 20:23:47 +0000 Subject: encoding.h: constify rb_encoding * include/ruby/encoding.h: constify `rb_encoding` itself, not only arguments. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46322 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- error.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'error.c') diff --git a/error.c b/error.c index 79c36c5171..71375c3bea 100644 --- a/error.c +++ b/error.c @@ -1891,7 +1891,7 @@ Init_Exception(void) } void -rb_enc_raise(const rb_encoding *enc, VALUE exc, const char *fmt, ...) +rb_enc_raise(rb_encoding *enc, VALUE exc, const char *fmt, ...) { va_list args; VALUE mesg; -- cgit v1.2.3