summaryrefslogtreecommitdiff
path: root/vm_insnhelper.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-10-15 00:57:37 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-10-15 00:57:37 +0000
commitc0481015b3c7e8371fc9b75c3b0235ab19d7d22f (patch)
treed91e1c81c3d94e1767d8beb50f5f91689151a7be /vm_insnhelper.c
parentf9e50b05b15dacd7cdee8fc380fecb93b6ecbd97 (diff)
vm_insnhelper.c: suppress warnings
* vm_insnhelper.c (vm_callee_setup_arg_complex): suppress shorten-64-to-32 warnings. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37188 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_insnhelper.c')
-rw-r--r--vm_insnhelper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm_insnhelper.c b/vm_insnhelper.c
index 5c50deaa38..3a7eae8624 100644
--- a/vm_insnhelper.c
+++ b/vm_insnhelper.c
@@ -1077,7 +1077,7 @@ vm_callee_setup_arg_complex(rb_thread_t *th, rb_call_info_t *ci, const rb_iseq_t
int argc = orig_argc;
VALUE *argv = orig_argv;
VALUE keyword_hash = Qnil;
- int opt_pc = 0;
+ rb_num_t opt_pc = 0;
th->mark_stack_len = argc + iseq->arg_size;