summaryrefslogtreecommitdiffhomepage
path: root/src/error.c
diff options
context:
space:
mode:
authorTomasz Dąbrowski <[email protected]>2017-09-25 16:21:28 +0200
committerTomasz Dabrowski <[email protected]>2017-09-27 22:22:05 +0200
commit971a4f9122d785ae558d590579692a1193819bd6 (patch)
tree57fbf17f42f59b56e06b91b9d4245b10d13d270e /src/error.c
parent0e0c96096d5a22ba0da39769b3c5b17e893335e8 (diff)
downloadmruby-971a4f9122d785ae558d590579692a1193819bd6.tar.gz
mruby-971a4f9122d785ae558d590579692a1193819bd6.zip
fix: src\kernel.c(874): warning C4244: 'function': conversion from 'mrb_int' to 'int', possible loss of data
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 8e679cbb1..fd4182eb2 100644
--- a/src/error.c
+++ b/src/error.c
@@ -386,7 +386,7 @@ mrb_bug(mrb_state *mrb, const char *fmt, ...)
}
MRB_API mrb_value
-mrb_make_exception(mrb_state *mrb, int argc, const mrb_value *argv)
+mrb_make_exception(mrb_state *mrb, mrb_int argc, const mrb_value *argv)
{
mrb_value mesg;
int n;