aboutsummaryrefslogtreecommitdiffstats
path: root/iseq.h
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-07-24 21:44:14 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-07-24 21:44:14 +0000
commit22be6d06ab60ac22fbaa1cf29afa048a456d4319 (patch)
tree675acce69892dae79e61289a7086adca0c31a3ed /iseq.h
parent14428f09b1c75071b7bcd86fb6c7a92790301d17 (diff)
downloadruby-22be6d06ab60ac22fbaa1cf29afa048a456d4319.tar.gz
* vm_core.h: size should be unsigned.
* rb_call_info_t::index * rb_iseq_constant_body::stack_max * rb_iseq_constant_body::local_size * rb_iseq_constant_body::param::size * rb_iseq_constant_body::local_table_size * rb_iseq_constant_body::is_size * rb_iseq_constant_body::callinfo_size * iseq.h: same for iseq_catch_table::size. * compile.c: catch up these fix. * iseq.c: ditto. * proc.c: ditto. * vm.c: ditto. * vm_args.c: ditto. * vm_eval.c: ditto. * vm_insnhelper.c: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51369 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'iseq.h')
-rw-r--r--iseq.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/iseq.h b/iseq.h
index 2db95e2983..eca85cb9fd 100644
--- a/iseq.h
+++ b/iseq.h
@@ -80,7 +80,7 @@ struct iseq_catch_table_entry {
};
PACKED_STRUCT_UNALIGNED(struct iseq_catch_table {
- int size;
+ unsigned int size;
struct iseq_catch_table_entry entries[1]; /* flexible array */
});