summaryrefslogtreecommitdiff
path: root/internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'internal.h')
-rw-r--r--internal.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/internal.h b/internal.h
index af4cc98aed..48acd5bb0c 100644
--- a/internal.h
+++ b/internal.h
@@ -284,11 +284,11 @@ rb_fix_mul_fix(VALUE x, VALUE y)
#ifdef DLONG
return DL2NUM((DLONG)lx * (DLONG)ly);
#else
- if (MUL_OVERFLOW_FIXNUM_P(x, y)) {
- return rb_big_mul(rb_int2big(x), rb_int2big(y));
+ if (MUL_OVERFLOW_FIXNUM_P(lx, ly)) {
+ return rb_big_mul(rb_int2big(lx), rb_int2big(ly));
}
else {
- return LONG2FIX(x * y);
+ return LONG2FIX(lx * ly);
}
#endif
}