mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
mruby-sprintf: add type cast to silence warning
This commit is contained in:
@@ -608,7 +608,7 @@ retry:
|
||||
}
|
||||
mrb_value str = mrb_bint_to_s(mrb, val, base);
|
||||
s = RSTRING_PTR(str);
|
||||
len = RSTRING_LEN(str);
|
||||
len = (int)RSTRING_LEN(str);
|
||||
}
|
||||
goto str_skip;
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user