summaryrefslogtreecommitdiff
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 3dd2777cd1..0c7418f9b7 100644
--- a/hash.c
+++ b/hash.c
@@ -159,7 +159,7 @@ rb_dbl_long_hash(double d)
union {double d; uint64_t i;} u;
u.d = d;
- return rb_objid_hash(rb_hash_start(u.i));
+ return rb_objid_hash(u.i);
}
#endif
}