diff options
| author | Yukihiro Matz Matsumoto <[email protected]> | 2012-11-17 02:16:35 +0900 |
|---|---|---|
| committer | Yukihiro Matz Matsumoto <[email protected]> | 2012-11-17 02:16:35 +0900 |
| commit | 7cea9d7b945a4b00cef699f47c07654f8b7bd579 (patch) | |
| tree | d22dbb5c1a8c9c5d84b337e8e9df64c4327dae35 /src/string.c | |
| parent | f3191b943ff59506a920b7e3bc54a3bfcb25b4d4 (diff) | |
| download | mruby-7cea9d7b945a4b00cef699f47c07654f8b7bd579.tar.gz mruby-7cea9d7b945a4b00cef699f47c07654f8b7bd579.zip | |
int and mrb_int should not be mixed under -DMRB_INT64; may fix #557
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 2ac4359c8..425b79ca7 100644 --- a/src/string.c +++ b/src/string.c @@ -2125,7 +2125,7 @@ mrb_str_split_m(mrb_state *mrb, mrb_value str) mrb_value spat = mrb_nil_value(); enum {awk, string, regexp} split_type = string; long beg, end, i = 0; - int lim = -1; + mrb_int lim = -1; mrb_value result, tmp; argc = mrb_get_args(mrb, "|oi", &spat, &lim); |
