summaryrefslogtreecommitdiff
path: root/vm_backtrace.c
diff options
context:
space:
mode:
Diffstat (limited to 'vm_backtrace.c')
-rw-r--r--vm_backtrace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm_backtrace.c b/vm_backtrace.c
index 5b4ed10..6d538f1 100644
--- a/vm_backtrace.c
+++ b/vm_backtrace.c
@@ -698,7 +698,7 @@ static VALUE
vm_backtrace_to_ary(rb_thread_t *th, int argc, VALUE *argv, int lev_default, int lev_plus, int to_str)
{
VALUE level, vn;
- int lev, n;
+ long lev, n;
VALUE btval = backtrace_object(th);
rb_backtrace_t *bt;
GetCoreDataFromValue(btval, rb_backtrace_t, bt);