diff options
| author | Yukihiro Matz Matsumoto <[email protected]> | 2013-03-11 23:55:41 +0900 |
|---|---|---|
| committer | Yukihiro Matz Matsumoto <[email protected]> | 2013-03-11 23:55:41 +0900 |
| commit | 34fe9d0156a65c8b19ee4671c29133c80a94bdc5 (patch) | |
| tree | 92930879caaec2105bf3b35f4214f852020cca8e /src/array.c | |
| parent | b783311ec442d4b27f67ecb287c413cac36df147 (diff) | |
| download | mruby-34fe9d0156a65c8b19ee4671c29133c80a94bdc5.tar.gz mruby-34fe9d0156a65c8b19ee4671c29133c80a94bdc5.zip | |
return value from mrb_gc_arena_save() is int
Diffstat (limited to 'src/array.c')
| -rw-r--r-- | src/array.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/array.c b/src/array.c index 97f76f8da..f0fcdb10d 100644 --- a/src/array.c +++ b/src/array.c @@ -917,7 +917,7 @@ inspect_ary(mrb_state *mrb, mrb_value ary, mrb_value list) mrb_str_buf_cat(mrb, arystr, head, sizeof(head)); for(i=0; i<RARRAY_LEN(ary); i++) { - mrb_int ai = mrb_gc_arena_save(mrb); + int ai = mrb_gc_arena_save(mrb); if (i > 0) { mrb_str_buf_cat(mrb, arystr, sep, sizeof(sep)); |
