mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Silence warnings caused by implicit type casting.
This commit is contained in:
@@ -367,7 +367,7 @@ mrb_str_succ_bang(mrb_state *mrb, mrb_value self)
|
||||
unsigned char *p, *e, *b, *t;
|
||||
const char *prepend;
|
||||
struct RString *s = mrb_str_ptr(self);
|
||||
size_t l;
|
||||
mrb_int l;
|
||||
|
||||
if (RSTRING_LEN(self) == 0)
|
||||
return self;
|
||||
|
||||
Reference in New Issue
Block a user