diff options
| author | take_cheeze <[email protected]> | 2014-04-25 22:02:10 +0900 |
|---|---|---|
| committer | take_cheeze <[email protected]> | 2014-04-25 22:02:10 +0900 |
| commit | b5028421b9fc0df9c4706ee5e3095a9c00f8f383 (patch) | |
| tree | 628c9016ec18972b43e1abaa243528f2a02f7950 /mrbgems/mruby-hash-ext | |
| parent | 49abcd4c0281d00030a540f7426de72882806dd4 (diff) | |
| download | mruby-b5028421b9fc0df9c4706ee5e3095a9c00f8f383.tar.gz mruby-b5028421b9fc0df9c4706ee5e3095a9c00f8f383.zip | |
Use mrb_int in mrbgem rest argument getting.
Diffstat (limited to 'mrbgems/mruby-hash-ext')
| -rw-r--r-- | mrbgems/mruby-hash-ext/src/hash-ext.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mrbgems/mruby-hash-ext/src/hash-ext.c b/mrbgems/mruby-hash-ext/src/hash-ext.c index 937a7fddd..bce842cb4 100644 --- a/mrbgems/mruby-hash-ext/src/hash-ext.c +++ b/mrbgems/mruby-hash-ext/src/hash-ext.c @@ -23,7 +23,8 @@ static mrb_value hash_values_at(mrb_state *mrb, mrb_value hash) { mrb_value *argv, result; - int argc, i, ai; + mrb_int argc, i; + int ai; mrb_get_args(mrb, "*", &argv, &argc); result = mrb_ary_new_capa(mrb, argc); |
