diff options
author | U.Nakamura <usa@ruby-lang.org> | 2021-10-14 10:22:55 +0900 |
---|---|---|
committer | U.Nakamura <usa@ruby-lang.org> | 2021-10-14 10:23:33 +0900 |
commit | 3099bb6e3c66ce52e1e2c1c93d4193d415d3c911 (patch) | |
tree | d75a1bb1c804e34cfcbd10b90542fdfc2fddccd5 /file.c | |
parent | fa12e3e2f7df205db5f5e179f845c7d758aee86c (diff) |
rb_encoding is already const
- this change get rid of a warning of mswin build.
see include/ruby/internal/encoding/encoding.h(116)
Diffstat (limited to 'file.c')
-rw-r--r-- | file.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -4389,7 +4389,7 @@ static VALUE rb_check_realpath_emulate_try(VALUE arg) { VALUE *args = (VALUE *)arg; - return rb_check_realpath_emulate(args[0], args[1], (const rb_encoding *)args[2], RB_REALPATH_CHECK); + return rb_check_realpath_emulate(args[0], args[1], (rb_encoding *)args[2], RB_REALPATH_CHECK); } static VALUE |