summaryrefslogtreecommitdiff
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 0421824202..f473fe1e4f 100644
--- a/object.c
+++ b/object.c
@@ -101,7 +101,7 @@ rb_obj_hash(VALUE obj)
{
VALUE oid = rb_obj_id(obj);
st_index_t h = rb_hash_end(rb_hash_start(NUM2LONG(oid)));
- return LONG2NUM(h);
+ return LONG2FIX(h);
}
/*