From f6003894b91987f309cfd0164561db86d5eaa82c Mon Sep 17 00:00:00 2001
From: nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>
Date: Sun, 31 Oct 2010 13:11:02 +0000
Subject: * compile.c (new_child_iseq): adjust argument types. * iseq.c
 (prepare_iseq_build, rb_iseq_new),   (rb_iseq_new_with_bopt_and_opt,
 rb_iseq_new_with_opt),   (rb_iseq_new_with_bopt): ditto. * compile.c
 (iseq_set_exception_table): suppress warnings. * insns.def (putspecialobject,
 defined): ditto. * iseq.c (iseq_load): ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29651 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
---
 insns.def | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'insns.def')

diff --git a/insns.def b/insns.def
index ea20320e75..e45609b880 100644
--- a/insns.def
+++ b/insns.def
@@ -336,7 +336,7 @@ putspecialobject
 ()
 (VALUE val)
 {
-    enum vm_special_object_type type = value_type;
+    enum vm_special_object_type type = (enum vm_special_object_type)value_type;
 
     switch (type) {
       case VM_SPECIAL_OBJECT_VMCORE:
@@ -754,7 +754,7 @@ defined
 {
     VALUE klass;
     const char *expr_type = 0;
-    enum defined_type type = op_type;
+    enum defined_type type = (enum defined_type)op_type;
 
     val = Qnil;
 
-- 
cgit v1.2.3

