mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
rb_encoding is already const
- this change get rid of a warning of mswin build. see include/ruby/internal/encoding/encoding.h(116)
This commit is contained in:
parent
fa12e3e2f7
commit
3099bb6e3c
1 changed files with 1 additions and 1 deletions
2
file.c
2
file.c
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue