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