diff options
Diffstat (limited to 'time.c')
-rw-r--r-- | time.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -126,7 +126,7 @@ quo(VALUE x, VALUE y) a = FIX2LONG(x); b = FIX2LONG(y); if (b == 0) rb_num_zerodiv(); - if (a == FIXNUM_MIN && b == -1) LONG2NUM(-a); + if (a == FIXNUM_MIN && b == -1) return LONG2NUM(-a); c = a / b; if (c * b == a) { return LONG2FIX(c); |