summaryrefslogtreecommitdiffhomepage
path: root/src/error.c
diff options
context:
space:
mode:
authorClayton Smith <[email protected]>2017-01-11 09:05:02 -0500
committerClayton Smith <[email protected]>2017-01-11 09:05:02 -0500
commitbc4c90de075fd77ecb844daca0a456a06922786b (patch)
treefc577852047d3bda361eaaca5b9bc7039fbc4405 /src/error.c
parentdb1bd078bedcc33bfd3ca4c45f46bc553786bfd8 (diff)
downloadmruby-bc4c90de075fd77ecb844daca0a456a06922786b.tar.gz
mruby-bc4c90de075fd77ecb844daca0a456a06922786b.zip
Use mrb_int for argc.
Diffstat (limited to 'src/error.c')
-rw-r--r--src/error.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/error.c b/src/error.c
index fda2cd15c..0292910dd 100644
--- a/src/error.c
+++ b/src/error.c
@@ -44,7 +44,7 @@ static mrb_value
exc_initialize(mrb_state *mrb, mrb_value exc)
{
mrb_value mesg;
- int argc;
+ mrb_int argc;
mrb_value *argv;
if (mrb_get_args(mrb, "|o*", &mesg, &argv, &argc) >= 1) {