summaryrefslogtreecommitdiffstats
path: root/vm.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-03-12 09:02:06 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-03-12 09:02:06 +0000
commit231d40446da168b1aa99ac6760bc27a9c2dea667 (patch)
tree872758cbe2204a0d7c976897f1eeba5aa6d8aa50 /vm.c
parent2adcd83961a647adc47f0f989e60605f249c4f22 (diff)
downloadruby-231d40446da168b1aa99ac6760bc27a9c2dea667.tar.gz
ruby-231d40446da168b1aa99ac6760bc27a9c2dea667.tar.xz
ruby-231d40446da168b1aa99ac6760bc27a9c2dea667.zip
* vm.c (rb_vm_get_sourceline), vm_insnhelper.c (vm_throw): use
rb_num_t. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22912 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm.c')
-rw-r--r--vm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm.c b/vm.c
index a49926bef..17c2697b7 100644
--- a/vm.c
+++ b/vm.c
@@ -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++) {