diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-03-12 09:02:06 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-03-12 09:02:06 +0000 |
commit | 1c6ca1eec5c35e1665273b891ecc05e2daf0e063 (patch) | |
tree | 872758cbe2204a0d7c976897f1eeba5aa6d8aa50 /vm.c | |
parent | 7cdc73235aee44599b99a89369edbaa61f4204bc (diff) | |
download | ruby-1c6ca1eec5c35e1665273b891ecc05e2daf0e063.tar.gz |
* vm.c (rb_vm_get_sourceline), vm_insnhelper.c (vm_throw): use
rb_num_t.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22912 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm.c')
-rw-r--r-- | vm.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -672,7 +672,7 @@ rb_vm_get_sourceline(const rb_control_frame_t *cfp) const rb_iseq_t *iseq = cfp->iseq; if (RUBY_VM_NORMAL_ISEQ_P(iseq)) { - int i; + rb_num_t i; int pos = cfp->pc - cfp->iseq->iseq_encoded; for (i = 0; i < iseq->insn_info_size; i++) { |