diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-01-29 09:30:37 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-01-29 09:30:37 +0000 |
commit | 18a8812e365f493d9de13d28ae0c1ad85c1ab838 (patch) | |
tree | f86ae09a268c15935790bbb3f8108b6c67fa6669 /ext/-test-/debug/inspector.c | |
parent | e3f88ac44d5068049e6dce1aa21ddb1ad30b24a4 (diff) | |
download | ruby-18a8812e365f493d9de13d28ae0c1ad85c1ab838.tar.gz |
debug: trivial fixes
* ext/-test-/debug/init.c (Init_debug): use normal module.
* ext/-test-/debug/inspector.c (callback): debug_inspector interfaces
now use long.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38973 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/-test-/debug/inspector.c')
-rw-r--r-- | ext/-test-/debug/inspector.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/-test-/debug/inspector.c b/ext/-test-/debug/inspector.c index 6212b2ed93..f0c58e59f9 100644 --- a/ext/-test-/debug/inspector.c +++ b/ext/-test-/debug/inspector.c @@ -5,7 +5,7 @@ static VALUE callback(const rb_debug_inspector_t *dbg_context, void *data) { VALUE locs = rb_debug_inspector_backtrace_locations(dbg_context); - int i, len = RARRAY_LENINT(locs); + long i, len = RARRAY_LEN(locs); VALUE binds = rb_ary_new(); for (i = 0; i < len; ++i) { VALUE entry = rb_ary_new(); |