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

This commit is contained in:
Tomasz Dąbrowski
2017-09-25 16:27:59 +02:00
committed by Tomasz Dabrowski
parent b7e71e4cef
commit 0e2976bf93
+1 -1
View File
@@ -131,7 +131,7 @@ mrb_range_initialize(mrb_state *mrb, mrb_value range)
{
mrb_value beg, end;
mrb_bool exclusive;
int n;
mrb_int n;
n = mrb_get_args(mrb, "oo|b", &beg, &end, &exclusive);
if (n != 3) {