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 | 3738fe3333e614afba407e64aded6535a09856cc (patch) | |
tree | 48affa2e12a107e94b6164de6358eb2b765ccf46 /include | |
parent | 70038431e7a83a46e83947f6874889d6b0b30193 (diff) | |
download | ruby-3738fe3333e614afba407e64aded6535a09856cc.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')
-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; |