mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
fix: src\range.c(136): warning C4244: '=': conversion from 'mrb_int' to 'int', possible loss of data
This commit is contained in:
committed by
Tomasz Dabrowski
parent
b7e71e4cef
commit
0e2976bf93
+1
-1
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user