diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2014-04-26 01:53:15 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2014-04-26 01:53:15 +0900 |
| commit | 2202e412ea6ac44a5bcdaa2640fda0b7485437ca (patch) | |
| tree | 3e217007696283ad64188ae979a1c0de33a0d947 /mrbgems/mruby-string-ext/src/string.c | |
| parent | 44ec41a7724ef3591e9d4033655fa12e79b9ff2b (diff) | |
| parent | b8e5cb71fe4b7e5377facf23ecebd0dd4bc4d1ab (diff) | |
| download | mruby-2202e412ea6ac44a5bcdaa2640fda0b7485437ca.tar.gz mruby-2202e412ea6ac44a5bcdaa2640fda0b7485437ca.zip | |
Merge branch 'master' of github.com:mruby/mruby
Diffstat (limited to 'mrbgems/mruby-string-ext/src/string.c')
| -rw-r--r-- | mrbgems/mruby-string-ext/src/string.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mrbgems/mruby-string-ext/src/string.c b/mrbgems/mruby-string-ext/src/string.c index 3ec23c51f..2c0a406ad 100644 --- a/mrbgems/mruby-string-ext/src/string.c +++ b/mrbgems/mruby-string-ext/src/string.c @@ -113,7 +113,7 @@ static mrb_value mrb_str_start_with(mrb_state *mrb, mrb_value self) { mrb_value *argv, sub; - int argc, i; + mrb_int argc, i; mrb_get_args(mrb, "*", &argv, &argc); for (i = 0; i < argc; i++) { @@ -142,7 +142,7 @@ static mrb_value mrb_str_end_with(mrb_state *mrb, mrb_value self) { mrb_value *argv, sub; - int argc, i; + mrb_int argc, i; mrb_get_args(mrb, "*", &argv, &argc); for (i = 0; i < argc; i++) { |
