diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-06-02 20:23:47 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-06-02 20:23:47 +0000 |
commit | f2980e3e2050f21273bfc8412e83adef5f75b1f0 (patch) | |
tree | 567b8001811a2396a9746d9f2332dbeab08f158d /numeric.c | |
parent | b875b4a6d9fd3a025bffc77c5c265e746614ee2d (diff) | |
download | ruby-f2980e3e2050f21273bfc8412e83adef5f75b1f0.tar.gz |
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
Diffstat (limited to 'numeric.c')
-rw-r--r-- | numeric.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2626,7 +2626,7 @@ rb_int_pred(VALUE num) #define int_pred rb_int_pred VALUE -rb_enc_uint_chr(unsigned int code, const rb_encoding *enc) +rb_enc_uint_chr(unsigned int code, rb_encoding *enc) { int n; VALUE str; |