diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-04-22 09:47:34 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-04-22 09:47:34 +0000 |
commit | e7995cb0f8c943bd2b836ba834baae52e922eb1d (patch) | |
tree | 48affa2e12a107e94b6164de6358eb2b765ccf46 /include/ruby | |
parent | 3621c3fe73f128ea7f651d92a2ecacdd24e40c58 (diff) | |
download | ruby-e7995cb0f8c943bd2b836ba834baae52e922eb1d.tar.gz |
* variable.c: use uint32_t instead of long to avoid confusion about
the type of ivtbl->numiv.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54700 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include/ruby')
-rw-r--r-- | include/ruby/ruby.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ruby/ruby.h b/include/ruby/ruby.h index b4bb7267de..89bf0192c1 100644 --- a/include/ruby/ruby.h +++ b/include/ruby/ruby.h @@ -909,7 +909,7 @@ struct RObject { struct RBasic basic; union { struct { - long numiv; /* only uses 32-bits */ + uint32_t numiv; VALUE *ivptr; void *iv_index_tbl; /* shortcut for RCLASS_IV_INDEX_TBL(rb_obj_class(obj)) */ } heap; |