diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-05-26 08:08:16 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-05-26 08:08:16 +0000 |
commit | ec187ff8473f3c2091253496595b515ea59d2ec0 (patch) | |
tree | b02f97bb8612fd050b661485b87ffb31e432debd /vm_eval.c | |
parent | 5212b7fb5206329151f52532e0818832186f0346 (diff) | |
download | ruby-ec187ff8473f3c2091253496595b515ea59d2ec0.tar.gz |
* vm.c (backtrace_*): change type of lev and n from size_t to int.
Also set type of rb_backtrace_t#backtrace_size to int.
A patch from nobu.
* vm_eval.c: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35807 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_eval.c')
-rw-r--r-- | vm_eval.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -20,8 +20,8 @@ static VALUE vm_exec(rb_thread_t *th); static void vm_set_eval_stack(rb_thread_t * th, VALUE iseqval, const NODE *cref); static int vm_collect_local_variables_in_heap(rb_thread_t *th, VALUE *dfp, VALUE ary); -static VALUE vm_backtrace_str_ary(rb_thread_t *th, size_t lev, size_t n); -static VALUE vm_backtrace_frame_ary(rb_thread_t *th, size_t lev, size_t n); +static VALUE vm_backtrace_str_ary(rb_thread_t *th, int lev, int n); +static VALUE vm_backtrace_frame_ary(rb_thread_t *th, int lev, int n); static void vm_backtrace_print(FILE *fp); typedef enum call_type { |