diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2014-04-26 01:32:31 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2014-04-26 01:32:31 +0900 |
| commit | f6837783891072831dd4d65fbf48d86706cbdcda (patch) | |
| tree | fae703325a6db2a6091a132fc5d300c3bcc9e82e /mrbgems/mruby-sprintf/src | |
| parent | c236d779cff1be141f6c40ae7f3c788d46da35d2 (diff) | |
| parent | b5028421b9fc0df9c4706ee5e3095a9c00f8f383 (diff) | |
| download | mruby-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-sprintf/src')
| -rw-r--r-- | mrbgems/mruby-sprintf/src/sprintf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mrbgems/mruby-sprintf/src/sprintf.c b/mrbgems/mruby-sprintf/src/sprintf.c index bb5502b58..a82a674cf 100644 --- a/mrbgems/mruby-sprintf/src/sprintf.c +++ b/mrbgems/mruby-sprintf/src/sprintf.c @@ -471,7 +471,7 @@ get_hash(mrb_state *mrb, mrb_value *hash, int argc, const mrb_value *argv) mrb_value mrb_f_sprintf(mrb_state *mrb, mrb_value obj) { - int argc; + mrb_int argc; mrb_value *argv; mrb_get_args(mrb, "*", &argv, &argc); |
