diff options
Diffstat (limited to 'enumerator.c')
-rw-r--r-- | enumerator.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/enumerator.c b/enumerator.c index 271c256b9c..6db3bbe50d 100644 --- a/enumerator.c +++ b/enumerator.c @@ -3132,7 +3132,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)) |