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

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

parent b406e9f7
...@@ -1422,7 +1422,7 @@ gc_step_ratio_set(mrb_state *mrb, mrb_value obj) ...@@ -1422,7 +1422,7 @@ gc_step_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.step_ratio = ratio; mrb->gc.step_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