From 6648846e05f760cf307f4c0122afb6cb4209f16b Mon Sep 17 00:00:00 2001 From: nobu Date: Thu, 14 Jun 2012 04:03:31 +0000 Subject: [PATCH] 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 --- ruby.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ruby.c b/ruby.c index 592c584559..651bf68034 100644 --- a/ruby.c +++ b/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; } }