1
0
Fork 0
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:
nobu 2012-06-14 04:03:31 +00:00
parent 207c58b518
commit 6648846e05

2
ruby.c
View file

@ -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;
}
}