diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2017-01-23 22:18:29 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2017-01-23 22:18:29 +0900 |
| commit | 28cf7a549dda15a5f76944d314ad5e20d5362df5 (patch) | |
| tree | bbe8a50d0b654829fec1000d7c6535e32aaea23f /src | |
| parent | f0f095bc135c4d2e6f6d54d6b5683db77708369b (diff) | |
| download | mruby-28cf7a549dda15a5f76944d314ad5e20d5362df5.tar.gz mruby-28cf7a549dda15a5f76944d314ad5e20d5362df5.zip | |
Change return type of mrb_range_beg_len() from `int` to `mrb_int`.
ref #3411
Diffstat (limited to 'src')
| -rw-r--r-- | src/range.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/range.c b/src/range.c index 5553171b9..2cb6f2361 100644 --- a/src/range.c +++ b/src/range.c @@ -248,7 +248,7 @@ mrb_range_include(mrb_state *mrb, mrb_value range) return mrb_bool_value(include_p); } -MRB_API int +MRB_API mrb_int mrb_range_beg_len(mrb_state *mrb, mrb_value range, mrb_int *begp, mrb_int *lenp, mrb_int len, mrb_bool trunc) { mrb_int beg, end; |
