summaryrefslogtreecommitdiff
path: root/enumerator.c
diff options
context:
space:
mode:
Diffstat (limited to 'enumerator.c')
-rw-r--r--enumerator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/enumerator.c b/enumerator.c
index cfc6a5dd98..9a0f9265c2 100644
--- a/enumerator.c
+++ b/enumerator.c
@@ -3345,7 +3345,7 @@ arith_seq_hash(VALUE self)
hash = rb_hash_uint(hash, NUM2LONG(v));
hash = rb_hash_end(hash);
- return LONG2FIX(hash);
+ return ST2FIX(hash);
}
#define NUM_GE(x, y) RTEST(rb_num_coerce_relop((x), (y), idGE))