diff options
Diffstat (limited to 'src/numeric.c')
| -rw-r--r-- | src/numeric.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/numeric.c b/src/numeric.c index 562562340..98a60ed30 100644 --- a/src/numeric.c +++ b/src/numeric.c @@ -523,7 +523,8 @@ static mrb_value flo_round(mrb_state *mrb, mrb_value num) { double number, f; - int ndigits = 0, i; + mrb_int ndigits = 0; + int i; mrb_get_args(mrb, "|i", &ndigits); number = mrb_float(num); |
