summaryrefslogtreecommitdiffhomepage
path: root/mrbgems/mruby-struct/src/struct.c
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2014-04-26 01:53:15 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2014-04-26 01:53:15 +0900
commit2202e412ea6ac44a5bcdaa2640fda0b7485437ca (patch)
tree3e217007696283ad64188ae979a1c0de33a0d947 /mrbgems/mruby-struct/src/struct.c
parent44ec41a7724ef3591e9d4033655fa12e79b9ff2b (diff)
parentb8e5cb71fe4b7e5377facf23ecebd0dd4bc4d1ab (diff)
downloadmruby-2202e412ea6ac44a5bcdaa2640fda0b7485437ca.tar.gz
mruby-2202e412ea6ac44a5bcdaa2640fda0b7485437ca.zip
Merge branch 'master' of github.com:mruby/mruby
Diffstat (limited to 'mrbgems/mruby-struct/src/struct.c')
-rw-r--r--mrbgems/mruby-struct/src/struct.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mrbgems/mruby-struct/src/struct.c b/mrbgems/mruby-struct/src/struct.c
index b5b498009..43cacbc4e 100644
--- a/mrbgems/mruby-struct/src/struct.c
+++ b/mrbgems/mruby-struct/src/struct.c
@@ -347,7 +347,7 @@ mrb_struct_s_def(mrb_state *mrb, mrb_value klass)
mrb_value b, st;
mrb_sym id;
mrb_value *argv;
- int argc;
+ mrb_int argc;
name = mrb_nil_value();
rest = mrb_nil_value();
@@ -428,7 +428,7 @@ static mrb_value
mrb_struct_initialize_m(mrb_state *mrb, /*int argc, mrb_value *argv,*/ mrb_value self)
{
mrb_value *argv;
- int argc;
+ mrb_int argc;
mrb_get_args(mrb, "*", &argv, &argc);
return mrb_struct_initialize_withArg(mrb, argc, argv, self);