aboutsummaryrefslogtreecommitdiffstats
path: root/hash.c
diff options
context:
space:
mode:
Diffstat (limited to 'hash.c')
-rw-r--r--hash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hash.c b/hash.c
index 4fc7b88668..f09b19af51 100644
--- a/hash.c
+++ b/hash.c
@@ -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;