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

fix: src\string.c(1130): warning C4244: '=': conversion from 'mrb_int' to...

fix: src\string.c(1130): warning C4244: '=': conversion from 'mrb_int' to 'int', possible loss of data
parent 46ccabac
...@@ -1125,7 +1125,7 @@ static mrb_value ...@@ -1125,7 +1125,7 @@ static mrb_value
mrb_str_aref_m(mrb_state *mrb, mrb_value str) mrb_str_aref_m(mrb_state *mrb, mrb_value str)
{ {
mrb_value a1, a2; mrb_value a1, a2;
int argc; mrb_int argc;
argc = mrb_get_args(mrb, "o|o", &a1, &a2); argc = mrb_get_args(mrb, "o|o", &a1, &a2);
if (argc == 2) { if (argc == 2) {
......
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