Commit b406e9f7 authored by Tomasz Dąbrowski's avatar Tomasz Dąbrowski Committed by Tomasz Dabrowski

fix: src\gc.c(1392): warning C4244: '=': conversion from 'mrb_int' to 'int', possible loss of data

parent 1dcf8ba4
...@@ -1389,7 +1389,7 @@ gc_interval_ratio_set(mrb_state *mrb, mrb_value obj) ...@@ -1389,7 +1389,7 @@ gc_interval_ratio_set(mrb_state *mrb, mrb_value obj)
mrb_int ratio; mrb_int ratio;
mrb_get_args(mrb, "i", &ratio); mrb_get_args(mrb, "i", &ratio);
mrb->gc.interval_ratio = ratio; mrb->gc.interval_ratio = (int)ratio;
return mrb_nil_value(); return mrb_nil_value();
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment