summaryrefslogtreecommitdiffstats
path: root/array.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-09-08 13:10:04 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-09-08 13:10:04 +0000
commit244398acccc1068be3ec7518ee53ad159dafc88e (patch)
tree87743fd1893484f1af704d20e3695810ea21a893 /array.c
parentdad2844df90b2834171e95c0a17d90d0180e4929 (diff)
downloadruby-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 'array.c')
-rw-r--r--array.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/array.c b/array.c
index b6a890004..d16cccb75 100644
--- a/array.c
+++ b/array.c
@@ -2880,7 +2880,8 @@ rb_ary_eql(VALUE ary1, VALUE ary2)
static VALUE
recursive_hash(VALUE ary, VALUE dummy, int recur)
{
- long i, h;
+ long i;
+ st_index_t h;
VALUE n;
if (recur) {