mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
fix: mrbgems\mruby-math\src\math.c(491): warning C4244: '=': conversion from 'mrb_int' to 'int', possible loss of data
This commit is contained in:
committed by
Tomasz Dabrowski
parent
536b95eb48
commit
49e96a2e19
@@ -486,7 +486,7 @@ static mrb_value
|
||||
math_log(mrb_state *mrb, mrb_value obj)
|
||||
{
|
||||
mrb_float x, base;
|
||||
int argc;
|
||||
mrb_int argc;
|
||||
|
||||
argc = mrb_get_args(mrb, "f|f", &x, &base);
|
||||
if (x < 0.0) {
|
||||
|
||||
Reference in New Issue
Block a user