diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-09-08 13:10:04 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-09-08 13:10:04 +0000 |
commit | 244398acccc1068be3ec7518ee53ad159dafc88e (patch) | |
tree | 87743fd1893484f1af704d20e3695810ea21a893 /object.c | |
parent | dad2844df90b2834171e95c0a17d90d0180e4929 (diff) | |
download | ruby-244398acccc1068be3ec7518ee53ad159dafc88e.tar.gz ruby-244398acccc1068be3ec7518ee53ad159dafc88e.tar.xz ruby-244398acccc1068be3ec7518ee53ad159dafc88e.zip |
* include/ruby/st.h (st_hash_func): use st_index_t.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24792 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'object.c')
-rw-r--r-- | object.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -99,7 +99,7 @@ VALUE rb_obj_hash(VALUE obj) { VALUE oid = rb_obj_id(obj); - unsigned long h = rb_hash_end(rb_hash_start(NUM2LONG(oid))); + st_index_t h = rb_hash_end(rb_hash_start(NUM2LONG(oid))); return LONG2NUM(h); } |