summaryrefslogtreecommitdiffhomepage
path: root/src/error.c
diff options
context:
space:
mode:
authorTomasz Dąbrowski <[email protected]>2017-09-25 16:12:21 +0200
committerTomasz Dabrowski <[email protected]>2017-09-27 22:22:04 +0200
commit7a2391b1201c8ff9c8d9623e6f6f675573edc600 (patch)
tree7555cd99dde84673da9ae01113ce9d69dcf7b5e3 /src/error.c
parent4d6b8dbcb954dedf55349e5c6cca8c491e628ce6 (diff)
downloadmruby-7a2391b1201c8ff9c8d9623e6f6f675573edc600.tar.gz
mruby-7a2391b1201c8ff9c8d9623e6f6f675573edc600.zip
fix: src\error.c(76): warning C4244: '=': 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 2c4fd1a40..8e679cbb1 100644
--- a/src/error.c
+++ b/src/error.c
@@ -71,7 +71,7 @@ exc_exception(mrb_state *mrb, mrb_value self)
{
mrb_value exc;
mrb_value a;
- int argc;
+ mrb_int argc;
argc = mrb_get_args(mrb, "|o", &a);
if (argc == 0) return self;