mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
fix: mrbgems\mruby-string-ext\src\string.c(49): warning C4244: '=': conversion from 'mrb_int' to 'int', possible loss of data
This commit is contained in:
committed by
Tomasz Dabrowski
parent
8d816fa142
commit
2640896911
@@ -44,7 +44,7 @@ mrb_str_byteslice(mrb_state *mrb, mrb_value str)
|
||||
{
|
||||
mrb_value a1;
|
||||
mrb_int len;
|
||||
int argc;
|
||||
mrb_int argc;
|
||||
|
||||
argc = mrb_get_args(mrb, "o|i", &a1, &len);
|
||||
if (argc == 2) {
|
||||
|
||||
Reference in New Issue
Block a user