summaryrefslogtreecommitdiffhomepage
path: root/mrbgems/mruby-hash-ext/src/hash-ext.c
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2014-04-26 01:32:31 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2014-04-26 01:32:31 +0900
commitf6837783891072831dd4d65fbf48d86706cbdcda (patch)
treefae703325a6db2a6091a132fc5d300c3bcc9e82e /mrbgems/mruby-hash-ext/src/hash-ext.c
parentc236d779cff1be141f6c40ae7f3c788d46da35d2 (diff)
parentb5028421b9fc0df9c4706ee5e3095a9c00f8f383 (diff)
downloadmruby-f6837783891072831dd4d65fbf48d86706cbdcda.tar.gz
mruby-f6837783891072831dd4d65fbf48d86706cbdcda.zip
Merge pull request #2123 from take-cheeze/mrb_int_arg
Use mrb_int in mrbgem rest arguments getting.
Diffstat (limited to 'mrbgems/mruby-hash-ext/src/hash-ext.c')
-rw-r--r--mrbgems/mruby-hash-ext/src/hash-ext.c3
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);