mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
ruby.c: add cast
* ruby.c (parse_and_compile_main): add cast to a pointer type. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36083 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
207c58b518
commit
6648846e05
1 changed files with 1 additions and 1 deletions
2
ruby.c
2
ruby.c
|
@ -1742,7 +1742,7 @@ parse_and_compile_main(VALUE fname, const struct ruby_compile_main_arg* arg, VAL
|
|||
return NULL;
|
||||
} else {
|
||||
*error = Qnil;
|
||||
return iseq;
|
||||
return (ruby_opaque_t)iseq;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue