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

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

fix: src\string.c(497): warning C4244: '=': conversion from 'mrb_int' to 'long', possible loss of data
parent 6cde9500
......@@ -488,7 +488,7 @@ check_frozen(mrb_state *mrb, struct RString *s)
static mrb_value
str_replace(mrb_state *mrb, struct RString *s1, struct RString *s2)
{
long len;
mrb_int len;
check_frozen(mrb, s1);
if (s1 == s2) return mrb_obj_value(s1);
......
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