diff options
author | glass <glass@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-11-27 16:36:44 +0000 |
---|---|---|
committer | glass <glass@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-11-27 16:36:44 +0000 |
commit | 8c91dfb91b49254ed7c0c5409775af9478c4f9ad (patch) | |
tree | 062d71772c4e88e2293882ac65bb6d43e862e591 /hash.c | |
parent | b426e1b1fafdab688c646cef8245fa72403d37bb (diff) | |
download | ruby-8c91dfb91b49254ed7c0c5409775af9478c4f9ad.tar.gz |
* st.c (st_keys): fix to use st_index_t for size of hash.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43886 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'hash.c')
-rw-r--r-- | hash.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1703,7 +1703,7 @@ VALUE rb_hash_keys(VALUE hash) { VALUE keys; - int size = RHASH_SIZE(hash); + st_index_t size = RHASH_SIZE(hash); keys = rb_ary_new_capa(size); if (size == 0) return keys; |