int and mrb_int should not be mixed under -DMRB_INT64; may fix #557

This commit is contained in:
Yukihiro Matz Matsumoto
2012-11-17 02:16:35 +09:00
parent f3191b943f
commit 7cea9d7b94
3 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -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);