From c7b663f2cfe8a9766c68519332969f736be2c8cf Mon Sep 17 00:00:00 2001 From: Tomasz Dąbrowski Date: Mon, 25 Sep 2017 16:07:44 +0200 Subject: fix: src\gc.c(1425): warning C4244: '=': conversion from 'mrb_int' to 'int', possible loss of data --- src/gc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gc.c') diff --git a/src/gc.c b/src/gc.c index 270adf52f..6d23354ae 100644 --- a/src/gc.c +++ b/src/gc.c @@ -1422,7 +1422,7 @@ gc_step_ratio_set(mrb_state *mrb, mrb_value obj) mrb_int ratio; mrb_get_args(mrb, "i", &ratio); - mrb->gc.step_ratio = ratio; + mrb->gc.step_ratio = (int)ratio; return mrb_nil_value(); } -- cgit v1.2.3