diff options
Diffstat (limited to 'src/string.c')
| -rw-r--r-- | src/string.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/string.c b/src/string.c index f50468cca..54987ca64 100644 --- a/src/string.c +++ b/src/string.c @@ -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); |
